.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 48vh;
}

/* LEFT PANEL */
.left-panel {
  background: var(--lightBlue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.left-panel-inner {
  text-align: center;
}

.left-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
}

.left-caption {
  margin-top: 1rem;
}

.caption-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.caption-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.left-social img {
  width: 32px;
  height: 32px;
}

/* HERO */
.contact-hero {
  position: relative;
  min-height: 48vh;
  max-height: 520px;
  overflow: hidden;
}

.hero-media {
  width: 100%;
  height: 100%;
  background-color: var(--wood);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background-color: var(--wood);
}

.contact-hero .hero-overlay {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 720px);
}

.contact-hero .hero-overlay h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-hero .hero-overlay p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-link {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.hero-link a {
  color: #ffffff;
  text-decoration: underline;
  opacity: 0.88;
}

.hero-link a:hover {
  opacity: 1;
}

.hero-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* CONTENT */
.contact-content {
  background: #f7f7f7;
  padding: 3rem 1.25rem 4rem;
}

.contact-wrap {
  max-width: 1150px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.contact-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--navy);
}

.contact-block {
  margin-bottom: 1.4rem;
}

.contact-block:last-child {
  margin-bottom: 0;
}

.contact-block h3 {
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.contact-block p {
  margin: 0.35rem 0;
  line-height: 1.7;
  color: #333;
}

.contact-block a {
  color: var(--navy);
  font-weight: 600;
}

.form-intro {
  margin-top: 0;
  margin-bottom: 1.2rem;
  color: #555;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row label {
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: #fff;
  color: #222;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--lightBlue);
  box-shadow: 0 0 0 3px rgba(111, 162, 200, 0.18);
}

.form-row textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-btn {
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
}

.contact-btn:hover {
  opacity: 0.95;
}

/* MAP */
.map-card {
  margin-top: 1.5rem;
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.map-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.map-intro {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #555;
  line-height: 1.6;
}

.map-embed {
  border-radius: 14px;
  overflow: hidden;
  background: var(--wood);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.map-link {
  margin-top: 1rem;
  margin-bottom: 0;
}

.map-link a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .left-panel {
    padding: 1.5rem 1rem;
  }

  .contact-hero {
    min-height: 40vh;
    max-height: 430px;
  }

  .contact-hero .hero-overlay {
    width: min(92%, 700px);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-embed iframe {
    height: 320px;
  }
  .hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.field-error {
  margin-top: 0.35rem;
  color: #b42318;
  font-size: 0.9rem;
  min-height: 1.1em;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  min-height: 1.2em;
  color: var(--navy);
}

.form-row input.input-error,
.form-row select.input-error,
.form-row textarea.input-error {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.contact-btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
}