/* ===================================
   I-35 Home Solutions — styles.css
   Color palette:
     Navy:  #0d2340
     Gold:  #c8922a
     White: #ffffff
     Light: #f5f7fa
     Text:  #2c3e50
=================================== */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #2c3e50;
  background: #ffffff;
  line-height: 1.7;
}

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

a {
  color: #c8922a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: #0d2340;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* === LAYOUT === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 4rem 0;
}

/* === NAVBAR === */
.navbar {
  background: #0d2340;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.nav-brand {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand span {
  color: #c8922a;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.nav-links a {
  color: #d0dce8;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #c8922a;
}

.nav-links .nav-cta a {
  background: #c8922a;
  color: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  font-weight: 600;
}

.nav-links .nav-cta a:hover {
  background: #b07a1f;
  text-decoration: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d2340;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 0 1rem;
  }

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

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .nav-links .nav-cta a {
    margin: 0.5rem 1.5rem;
    display: inline-block;
    background: #c8922a;
    border-radius: 4px;
    text-align: center;
  }
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #0d2340 0%, #1a3a5c 60%, #0d2340 100%);
  color: #ffffff;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8922a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero .container { position: relative; }

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 em {
  color: #c8922a;
  font-style: normal;
}

.hero p.lead {
  font-size: 1.15rem;
  color: #b8cfe0;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: #c8922a;
  color: #ffffff;
  border-color: #c8922a;
}

.btn-primary:hover {
  background: #b07a1f;
  border-color: #b07a1f;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

.btn-navy {
  background: #0d2340;
  color: #ffffff;
  border-color: #0d2340;
}

.btn-navy:hover {
  background: #091929;
  text-decoration: none;
}

/* === TRUST BAR === */
.trust-bar {
  background: #f5f7fa;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0d2340;
}

.trust-item .icon {
  color: #c8922a;
  font-size: 1.1rem;
}

/* === SITUATIONS GRID === */
.situations {
  background: #ffffff;
}

.situations h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: #5a6a7a;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.situations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.situation-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.75rem;
  transition: all 0.25s;
  text-decoration: none;
  display: block;
  background: #ffffff;
}

.situation-card:hover {
  border-color: #c8922a;
  box-shadow: 0 4px 20px rgba(13,35,64,0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.situation-card .card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.situation-card h3 {
  color: #0d2340;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.situation-card p {
  color: #5a6a7a;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.situation-card .card-link {
  color: #c8922a;
  font-size: 0.88rem;
  font-weight: 600;
}

/* === LEAD FORM === */
.lead-form-section {
  background: #0d2340;
  color: #ffffff;
}

.lead-form-section h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 0.5rem;
}

.lead-form-section .section-sub {
  color: #b8cfe0;
}

.lead-form {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 10px;
  padding: 2.25rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

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

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0d2340;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #d0dce8;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  color: #2c3e50;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #c8922a;
  box-shadow: 0 0 0 3px rgba(200,146,42,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.05rem;
  background: #c8922a;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  margin-top: 0.5rem;
}

.form-submit:hover { background: #b07a1f; }

.form-privacy {
  font-size: 0.78rem;
  color: #8a9ab0;
  text-align: center;
  margin-top: 0.75rem;
}

/* === HOW IT WORKS === */
.how-it-works {
  background: #f5f7fa;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(13,35,64,0.07);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #c8922a;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: #5a6a7a; }

/* === WHY DIFFERENT === */
.why-different { background: #ffffff; }
.why-different h2 { text-align: center; margin-bottom: 0.5rem; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.why-item {
  padding: 1.5rem;
  border-left: 4px solid #c8922a;
  background: #f5f7fa;
  border-radius: 0 6px 6px 0;
}

.why-item h3 { margin-bottom: 0.4rem; font-size: 1rem; }
.why-item p { font-size: 0.9rem; color: #5a6a7a; margin: 0; }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, #0d2340 0%, #1a3a5c 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.page-hero h1 { color: #ffffff; margin-bottom: 0.75rem; }
.page-hero p.lead { color: #b8cfe0; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* === ARTICLE / CONTENT === */
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #e2e8f0;
}

.article-body h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: #c8922a;
}

.article-body ul, .article-body ol {
  margin: 0.75rem 0 1rem 1.5rem;
}

.article-body li { margin-bottom: 0.4rem; }

.article-body .callout {
  background: #f5f7fa;
  border-left: 4px solid #c8922a;
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
}

.article-body .callout strong { color: #0d2340; }

.article-cta {
  background: #0d2340;
  color: #ffffff;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.article-cta h3 { color: #ffffff; margin-bottom: 0.75rem; }
.article-cta p { color: #b8cfe0; margin-bottom: 1.25rem; }

/* === ABOUT PAGE === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.about-photo-placeholder {
  background: linear-gradient(135deg, #0d2340, #1a3a5c);
  border-radius: 10px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8922a;
  font-size: 5rem;
}

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.values-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.values-list li:last-child { border-bottom: none; }

.values-list .check {
  color: #c8922a;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* === REALTORS PAGE === */
.realtor-promise {
  background: #f5f7fa;
  border-radius: 10px;
  padding: 2.5rem;
  margin: 2rem 0;
  border: 1px solid #e2e8f0;
}

.realtor-promise h3 {
  color: #0d2340;
  margin-bottom: 1rem;
}

.promise-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.promise-list li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid #e2e8f0;
}

.promise-list li:last-child { border-bottom: none; }

.promise-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #c8922a;
  font-weight: 700;
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-info h3 { margin-bottom: 1.5rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: #0d2340;
  color: #c8922a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail .text strong {
  display: block;
  color: #0d2340;
  margin-bottom: 0.15rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-detail .text a,
.contact-detail .text span {
  color: #2c3e50;
  font-size: 1rem;
}

.contact-form-wrap {
  background: #f5f7fa;
  border-radius: 10px;
  padding: 2rem;
}

.contact-form-wrap h3 { margin-bottom: 1.5rem; }

/* === SERVICE AREA STRIP === */
.service-area {
  background: #0d2340;
  color: #b8cfe0;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.service-area strong { color: #ffffff; }

/* === FOOTER === */
footer {
  background: #091929;
  color: #8a9ab0;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.footer-brand {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand span { color: #c8922a; }

.footer-desc { font-size: 0.88rem; line-height: 1.6; }

.footer-col h4 {
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul a {
  color: #8a9ab0;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: #c8922a; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  text-align: center;
  color: #5a6a7a;
}

.footer-bottom a { color: #5a6a7a; }
.footer-bottom a:hover { color: #c8922a; }

/* === UTILITIES === */
.text-gold { color: #c8922a; }
.text-navy { color: #0d2340; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.badge {
  display: inline-block;
  background: #c8922a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.75rem;
}

.divider {
  height: 4px;
  width: 48px;
  background: #c8922a;
  border-radius: 2px;
  margin: 0.75rem auto 1.5rem;
}

/* === RESPONSIVE TWEAKS === */
@media (max-width: 768px) {
  section { padding: 3rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .lead-form { padding: 1.5rem; }
}
