@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=DM+Mono:wght@500&display=swap');

/* ── Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: #fff;
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* ── Nav ── */
/*
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  border-bottom: 1px solid #D8D8D4;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
*/
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* left space | logo | right space */
  align-items: center;
  padding: 20px 80px;
  border-bottom: 1px solid #D8D8D4;
  background-color: #F1E9DD;
}

.nav-logo {
  grid-column: 2;            /* logo in center column */
}

.menu-btn {
  grid-column: 3;            /* hamburger in right column */
  justify-self: end;
}
.nav-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-logo img { width: 80px; height: 80px; }
}
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #242833;
  border-radius: 2px;
}

/* ── Dropdown menu ── */
.menu-dropdown {
  display: none;
  position: fixed;
  top: 85px;
  right: 80px;
  background: #fff;
  border: 1.5px solid #EFEFED;
  border-radius: 12px;
  overflow: hidden;
  z-index: 200;
  min-width: 190px;
}
.menu-dropdown.open { display: block; }
.menu-dropdown a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #EFEFED;
}
.menu-dropdown a:last-child { border-bottom: none; }
.menu-dropdown a:hover { background: #F5F5F3; }
.menu-dropdown button {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: #111;
  background: none;
  border: none;
  border-bottom: 1px solid #EFEFED;
  text-align: left;
  cursor: pointer;
}
.menu-dropdown button:hover { background: #F5F5F3; }

@media (max-width: 768px) {
  .menu-dropdown { top: 77px; right: 16px; }
}

/* ── Content area ── */
.content {
  flex: 1;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding: 40px max(32px, calc((100% - 520px) / 2)) 48px;
  box-sizing: border-box;
}

/* ── Typography ── */
.title {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.subtitle {
  font-size: 15px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ── Form elements ── */
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin-bottom: 6px;
  margin-top: 16px;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  border: 1.5px solid #DDDDD8;
  border-radius: 12px;
  outline: none;
  color: #111;
  background: #fff;
  transition: border-color 0.15s;
}
input:focus,
textarea:focus,
select:focus { border-color: #111; }
textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ── Buttons ── */
.btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  background: #242833;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-ghost {
  background: none;
  border: 1.5px solid #DDDDD8;
  color: #555;
  margin-top: 12px;
}
.btn-ghost:hover { background: #F5F5F3; opacity: 1; }

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid #EFEFED;
  margin: 28px 0;
}

/* ── Error message ── */
.error-msg {
  font-size: 13px;
  color: #C0392B;
  margin-top: 8px;
  display: none;
}

/* ── Footer ── */
.footer { background: #242833; padding: 32px 80px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-copy { font-size: 12px; color: #666; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-links a {
  font-size: 12px;
  color: #AAA;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }
.footer-sep { font-size: 12px; color: #555; }

@media (max-width: 768px) {
  .footer { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; order: -1; }
  .footer-copy { order: 1; }
}
