* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Pretendard', sans-serif;
}

body {
  background: #f5f7fb;
  color: #222;
}

a {
  text-decoration: none;
}

.container {

  margin: auto;
  width: 80%;
}

/* Header */
.header {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  padding: 18px 0;
  color: white;
  position:fixed;
  width:100%;
  top: 0;
  z-index:10;
}

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

.menu a {
  margin-left: 30px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Hero */
.hero {
  /*background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e') center/cover;*/
  background: url('/images/office.png') left/cover;
  height: 550px;
  position: relative;
}

.overlay {
  /*background: rgba(0, 38, 92, 0.6);*/
  height: 100%;
  display: flex;
  align-items: center;
  margin-top: 72px;
}

.hero-content {
  color: white;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
}

.hero h1 span {
  color: #ffd24d;
}

.hero p {
  margin-top: 15px;
  font-size: 20px;
}

/* Calculator */
.calculator {
  background: white;
  margin-top: 40px;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  color: #222;
  width: 80%;
  position: absolute;
}

.calc-row {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.calc-row select {
  min-width: 0;
}

.calculator select {
  flex: 1;
  padding: 8px 0 8px 8px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.calculator button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(to right, #1e3c72, #2a5298);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* Features */
.features {
  background: white;
  padding: 80px 0 50px 0;
}

.feature h4 {
  color: #1e3c72;
}

.features p {
  margin-top: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}

.feature .icon {
  /*font-size: 40px;*/
  /*margin-bottom: 20px;*/
}

/* Consult */
.consult {
  padding: 50px 0;
}

.consult-box {
  background: #fff;
  padding: 60px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.form {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.form input,
.form select {
  flex: 1;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.consult-btn {
  padding: 15px 40px;
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 18px;
}

/* Footer */
.footer {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-inner div {
  margin: 10px 0;
}

/* Floating Chat */
.chat-btn {
  position: fixed;
  right: 10px;
  bottom: 10px;
  background: black;
  color: white;
  padding: 15px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
}

/* =====================
   📱 반응형
===================== */

@media (max-width: 1200px) {
  .container {
    width: 90%;
  }

  .calculator {
    width: 90%;
  }
}

@media (max-width: 900px) {
  .feature-grid {
    /*grid-template-columns: repeat(2, 1fr);*/
  }

  .calc-row,
  .form {
    flex-direction: column;
  }
}

@media (max-width: 600px) {

  .hero {
    height: auto;
    padding: 70px 0 240px 0;
  }

  .features {
    padding: 60px 0 30px 0
  }

  .hero h1 {
    font-size: 32px;
  }

  .feature-grid {
    /*grid-template-columns: 1fr;*/
  }

  .consult-box {
    padding: 30px;
  }

  .menu {
    /*display: none;*/
  }

}

@media (min-width: 601px) {
  .hero-content:first-child {
    margin-top: 100px;
  }

  .calculator {
    margin-top: 70px;
  }
}
