:root {
  --text-main: #88501b;
  --text-subtle: #b16d35;
  --accent: #ffe0b2;
  --accent-dark: #bcaaa4;
  --radius: 12px;
  --transition: all 0.3s ease;
  font-size: 16px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: url("../imgs/contact imgs/6FA2279C-F9DD-4F6D-9079-610B097BA06E.PNG") no-repeat center center/cover;
  min-height: 100vh;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Container */
.wrapper {
  width: 100%;
  max-width: 700px;
}

/* Liquid glass effect */
.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2.5rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Typography */
h1 {
  font-size: 2.25rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--text-subtle);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Form layout */
.contact-form .input-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.field {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--accent);
}

input,
textarea {
  font: inherit;
  background: rgba(255, 255, 255, 0.8);
  color: #3e2723;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: #b67c67aa;
}

input:focus,
textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(255, 224, 178, 0.6);
}

/* Button */
.btn-primary {
  background: var(--accent);
  color: #3e2723;
  font-weight: 600;
  border: none;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-dark);
  color: rgb(255, 255, 255);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Mobile */
@media (max-width: 500px) {
  h1 {
    font-size: 1.8rem;
  }

  .card {
    padding: 2rem 1.25rem;
  }
}