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

:root {
  /* Brand palette (tuned to existing design + typical music accents) */
  --brand-primary: #ff4081; /* pink */
  --brand-accent: #ff9800; /* orange */
  --brand-blue: #2196f3; /* blue */
  --surface: #ffffff;
  --ink-900: #333333;
  --ink-700: #555555;
  --ink-600: #666666;
  --ink-500: #999999;
  --line: #e0e0e0;
  --page-bg: #f5f5f5;

  /* Decorative */
  --wave-start: rgba(255, 152, 0, 0.12);
  --wave-end: rgba(33, 150, 243, 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: var(--page-bg);
  padding: 20px;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: var(--surface);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative; /* for decorative layers */
  overflow: hidden;
}

.section-title {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-900);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

/* Form Section */
.form-section {
  padding-right: 20px;
}

.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 8px;
}

input,
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-500);
  font-size: 12px;
}

/* Name Fields */
.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.name-field {
  position: relative;
}

.field-label {
  display: block;
  font-size: 11px;
  color: var(--ink-600);
  margin-top: 5px;
}

/* Select Dropdown */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 35px;
  cursor: pointer;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--ink-700);
  cursor: pointer;
  min-width: 150px;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: var(--brand-accent);
}

.checkbox-label span {
  user-select: none;
}

/* Textarea */
textarea {
  resize: vertical;
  min-height: 100px;
}

/* Submit Button */
.submit-btn {
  background-color: var(--brand-accent);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #f57c00;
}

.submit-btn:active {
  transform: translateY(1px);
}

/* Contact Section */
.contact-section {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.address-icon {
  background-color: #fff3e0;
  color: var(--brand-accent);
}

.phone-icon {
  background-color: #e3f2fd;
  color: var(--brand-blue);
}

.mail-icon {
  background-color: #ffebee;
  color: #f44336;
}

.contact-info h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 5px;
}

.contact-info p {
  font-size: 13px;
  color: var(--ink-600);
  line-height: 1.6;
}

/* Decorative: waves and musical notes */
.container::before,
.container::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0; /* behind content */
}

.container::before {
  top: -120px;
  left: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(
      ellipse at 30% 30%,
      var(--wave-start),
      transparent 60%
    ),
    radial-gradient(ellipse at 70% 60%, var(--wave-end), transparent 60%);
  filter: blur(6px);
  animation: floatSlow 18s ease-in-out infinite;
}

.container::after {
  right: -140px;
  bottom: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(
      ellipse at 40% 40%,
      rgba(255, 64, 129, 0.1),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 70% 70%,
      rgba(33, 150, 243, 0.08),
      transparent 60%
    );
  filter: blur(8px);
  animation: floatSlow 22s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(8px, -6px, 0) scale(1.02);
  }
}

/* Musical notes (minimal) */
.music-notes {
  position: absolute;
  inset: 0;
  z-index: 1; /* below main content but above blobs */
  pointer-events: none;
}

.note {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0.25;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.04));
  animation: drift 12s linear infinite;
}

/* Using inline SVG data URIs for a quaver note */
.note--pink {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23ff4081'%3E%3Cpath d='M9 3v12.26A4 4 0 1 0 11 19V8h8V3H9z'/%3E%3C/svg%3E");
}
.note--blue {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%232196f3'%3E%3Cpath d='M9 3v12.26A4 4 0 1 0 11 19V8h8V3H9z'/%3E%3C/svg%3E");
}
.note--orange {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23ff9800'%3E%3Cpath d='M9 3v12.26A4 4 0 1 0 11 19V8h8V3H9z'/%3E%3C/svg%3E");
}

.note.n1 {
  left: 12%;
  top: 18%;
  animation-duration: 14s;
}
.note.n2 {
  left: 8%;
  bottom: 22%;
  animation-duration: 16s;
}
.note.n3 {
  right: 10%;
  top: 24%;
  animation-duration: 18s;
}
.note.n4 {
  right: 16%;
  bottom: 18%;
  animation-duration: 15s;
}
.note.n5 {
  left: 45%;
  bottom: 8%;
  animation-duration: 20s;
}
.note.n6 {
  left: 28%;
  top: 36%;
  animation-duration: 17s;
}
.note.n7 {
  right: 32%;
  bottom: 26%;
  animation-duration: 19s;
}
.note.n8 {
  left: 62%;
  top: 12%;
  animation-duration: 21s;
}

@keyframes drift {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.22;
  }
  50% {
    transform: translateY(-10px) rotate(6deg);
    opacity: 0.32;
  }
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.22;
  }
}

/* Brand CTA at right-bottom */
.brand-cta {
  margin-top: auto;
  border: 1px dashed rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 16px 16px 18px 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 152, 0, 0.06),
    rgba(255, 64, 129, 0.06)
  );
  position: relative;
  overflow: hidden;
}

.brand-cta__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.brand-cta__logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.brand-cta__text {
  color: var(--ink-900);
}

.brand-cta__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.brand-cta__desc {
  font-size: 12px;
  color: var(--ink-600);
}

.brand-cta__chips {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.chip {
  font-size: 11px;
  color: var(--ink-700);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 4px 8px;
}

.brand-cta__actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.btn {
  display: inline-block;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: var(--brand-accent);
  color: #fff;
}

.btn--primary:hover {
  background: #f57c00;
}
.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-primary);
  border: 1px solid rgba(255, 64, 129, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 64, 129, 0.06);
}
.btn--ghost:active {
  transform: translateY(1px);
}

.brand-cta__eq {
  margin-left: auto;
  display: flex;
  gap: 4px;
}

.brand-cta__eq span {
  width: 4px;
  height: 18px;
  background: linear-gradient(
    180deg,
    var(--brand-primary),
    var(--brand-accent)
  );
  border-radius: 2px;
  animation: eq 1.2s ease-in-out infinite;
}

.brand-cta__eq span:nth-child(2) {
  animation-delay: 0.1s;
  height: 22px;
}
.brand-cta__eq span:nth-child(3) {
  animation-delay: 0.2s;
  height: 16px;
}
.brand-cta__eq span:nth-child(4) {
  animation-delay: 0.3s;
  height: 20px;
}

@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.6);
  }
  50% {
    transform: scaleY(1);
  }
}

.brand-cta__pulse {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(255, 64, 129, 0.12),
    transparent 60%
  );
  animation: pulse 3.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
}

/* Responsive Design */
@media screen and (max-width: 968px) {
  .container {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  .form-section {
    padding-right: 0;
  }

  .contact-section {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
    margin-top: 20px;
  }
}

@media screen and (max-width: 640px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 20px 15px;
  }

  .section-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .name-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .checkbox-row {
    flex-direction: column;
    gap: 10px;
  }

  .checkbox-label {
    min-width: auto;
    width: 100%;
  }

  .contact-item {
    gap: 12px;
  }

  .icon-wrapper {
    width: 45px;
    height: 45px;
  }

  .icon-wrapper svg {
    width: 20px;
    height: 20px;
  }

  .contact-info h3 {
    font-size: 15px;
  }

  .contact-info p {
    font-size: 12px;
  }

  .brand-cta__inner {
    align-items: flex-start;
  }

  .brand-cta__eq {
    position: absolute;
    right: 12px;
    top: 12px;
  }

  .brand-cta__actions {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 480px) {
  .submit-btn {
    width: 100%;
    padding: 14px 30px;
  }

  input[type="text"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
  }

  .container {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .submit-btn {
    display: none;
  }
}
