:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --card: #ffffff;
  --border: #e2e8f0;
  --accent: #d97706;
  --accent2: #2563eb;
  --text: #1e293b;
  --muted: #64748b;
  --green: #15803d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 900px;
  height: 60px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 900;
  text-decoration: none;
}

.logo-image {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  vertical-align: middle;
}

.logo span,
h1 span {
  color: var(--accent);
}

.back-btn {
  color: var(--accent2);
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
}

.page {
  max-width: 900px;
  margin: auto;
  padding: 3rem 1.5rem;
}

h1 {
  margin-bottom: 0.6rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 900;
}

.sub {
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card,
.form-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.contact-card:hover {
  border-color: var(--accent);
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.2rem;
}

.icon-social {
  background: #dbeafe;
}

.icon-email {
  background: #dbeafe;
}

.icon-loc {
  background: #fef3c7;
}

.contact-card h3 {
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-card a,
.contact-card p {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--accent);
}

.form-card {
  padding: 1.75rem;
}

.form-card h2 {
  margin-bottom: 1.25rem;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: var(--surface);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 0.87rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent2);
}

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

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

.btn-send {
  width: 100%;
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-send:hover {
  background: #b45309;
}

.success-msg {
  display: none;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  color: var(--green);
  font-size: 0.85rem;
  text-align: center;
}

footer {
  margin-top: 2rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.77rem;
}

.footer-copy a {
  color: var(--accent2);
  text-decoration: none;
}

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

  .page {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 1.7rem;
  }
}
