
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #ececec;
  color: #111;
}

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

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 60px;
}

.nav-right a {
  margin-left: 28px;
  font-size: 14px;
}

.btn {
  background: #111;
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 120px 80px;
  align-items: center;
}

.hero h1 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
}

.hero p {
  max-width: 520px;
  font-size: 17px;
  color: #555;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 120px 80px;
  align-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.services-grid h3 {
  font-weight: 500;
}

.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 120px 80px;
  align-items: center;
}

.image-placeholder {
  background: #ddd;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
}

.image-placeholder.tall {
  height: 520px;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #bbb;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 60px 80px;
  font-size: 14px;
  color: #555;
}


.hero-img, .cta-img, .about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.cta-img { height: 420px; }
.hero-img { height: 480px; }

@media (max-width: 980px) {
  .hero, .split, .cta {
    grid-template-columns: 1fr;
    padding: 72px 24px;
    gap: 32px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 40px; }
  .hero-img, .cta-img, .about-img { height: 320px; }
  .nav { padding: 18px 18px; }
  .nav-right a { margin-left: 16px; }
}


.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 120px 80px;
  align-items: start;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.newsletter-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}

.newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.newsletter-row input {
  padding: 14px 14px;
  border-radius: 999px;
  border: 1px solid #bbb;
  background: rgba(255,255,255,0.35);
}

.tiny { font-size: 12px; }

@media (max-width: 980px) {
  .newsletter {
    grid-template-columns: 1fr;
    padding: 72px 24px;
    gap: 24px;
  }
  .newsletter-row {
    grid-template-columns: 1fr;
  }
}


/* Intake Chat */
.chat-fab{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  background: #111;
  color: #fff;
  border: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.chat-panel{
  position: fixed;
  right: 22px;
  bottom: 80px;
  width: 360px;
  max-width: calc(100vw - 44px);
  height: 520px;
  max-height: calc(100vh - 140px);
  background: rgba(236,236,236,0.96);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
  z-index: 999;
  display: none;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.chat-panel.open{ display: grid; grid-template-rows: auto 1fr auto auto; }

.chat-header{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  align-items:flex-start;
  padding: 14px 14px 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(236,236,236,0.8);
}

.chat-title{ font-weight: 500; }
.chat-subtitle{ font-size: 12px; color:#555; margin-top:2px; }
.chat-close{
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor:pointer;
  color:#111;
  padding: 2px 6px;
  border-radius: 10px;
}
.chat-close:hover{ background: rgba(0,0,0,0.06); }

.chat-body{
  padding: 14px;
  overflow: auto;
  background: rgba(236,236,236,0.4);
}

.chat-bubble{
  max-width: 90%;
  padding: 10px 12px;
  border-radius: 14px;
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.35;
  border: 1px solid rgba(0,0,0,0.08);
}

.chat-bubble.bot{
  background: rgba(255,255,255,0.55);
  color:#111;
}

.chat-bubble.user{
  background: rgba(17,17,17,0.92);
  color:#fff;
  margin-left: auto;
  border-color: rgba(17,17,17,0.92);
}

.chat-input{
  display:flex;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(236,236,236,0.8);
}

.chat-input input{
  flex:1;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.55);
  font-family: inherit;
}

.chat-send{
  border:none;
  background:#111;
  color:#fff;
  padding: 12px 14px;
  border-radius: 12px;
  cursor:pointer;
  font-size: 14px;
}

.chat-footer{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 14px 14px;
  background: rgba(236,236,236,0.8);
}

.chat-email{
  border:none;
  background:#111;
  color:#fff;
  padding: 10px 14px;
  border-radius: 999px;
  cursor:pointer;
  font-size: 13px;
}
.chat-email:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}

.chat-note{ font-size: 12px; color:#555; }

@media (max-width: 520px){
  .chat-panel{
    right: 12px;
    left: 12px;
    width: auto;
  }
  .chat-fab{ right: 12px; bottom: 12px; }
}
