/* GRM Music Studio – Contact page (uses site palette) */
:root {
  --grm-gold: #C79A52;
  --grm-gold-hover: #ffc34d;
  --grm-navy: #111C32;
  --grm-deep: #071321;
  --grm-cream: #FAF7F2;
  --grm-sand: #F5ECDF;
  --grm-muted: #7f8b99;
}

.contact-page {
  background: var(--grm-cream);
  font-family: "Work Sans", sans-serif;
  color: var(--grm-navy);
}

/* Hero */
.cp-hero {
  position: relative;
  overflow: hidden;
  background: var(--grm-deep);
  color: var(--grm-cream);
  padding: 170px 0 120px;
}

.cp-hero-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  opacity: .12;
  pointer-events: none;
}

.cp-hero-lines span {
  display: block;
  height: 1px;
  background: var(--grm-gold);
  transform-origin: left;
  animation: cpLine 2.4s ease forwards;
  transform: scaleX(0);
}

.cp-hero-lines span:nth-child(2) {
  animation-delay: .15s;
}

.cp-hero-lines span:nth-child(3) {
  animation-delay: .3s;
}

.cp-hero-lines span:nth-child(4) {
  animation-delay: .45s;
}

.cp-hero-lines span:nth-child(5) {
  animation-delay: .6s;
}

@keyframes cpLine {
  to {
    transform: scaleX(1);
  }
}

.cp-eyebrow {
  color: var(--grm-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.cp-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.1;
  color: var(--grm-cream);
  margin-bottom: 20px;
}

.cp-title em,
.cp-side h2 em {
  font-family: "Instrument Serif", serif;
  color: var(--grm-gold);
  font-style: italic;
}

.cp-lead {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(250, 247, 242, .75);
  font-size: 18px;
}

/* Info cards */
.cp-info {
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.cp-card {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 34px 28px;
  text-align: center;
  color: var(--grm-navy);
  box-shadow: 0 25px 60px -30px rgba(17, 28, 50, .35);
  transition: transform .35s ease, box-shadow .35s ease;
}

.cp-card:hover {
  text-decoration: none;
  color: var(--grm-navy);
  transform: translateY(-6px);
  box-shadow: 0 30px 70px -25px rgba(199, 154, 82, .55);
}

.cp-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grm-sand);
  color: var(--grm-gold);
  font-size: 24px;
  margin-bottom: 18px;
  transition: background .3s, color .3s;
}

.cp-card:hover .cp-card-icon {
  background: var(--grm-gold);
  color: var(--grm-navy);
}

.cp-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 6px;
}

.cp-card p {
  margin: 0;
  color: var(--grm-muted);
  word-break: break-word;
}

/* Form section */
.cp-form-section {
  padding: 90px 0 110px;
}

.cp-side {
  height: 100%;
  background: var(--grm-navy);
  color: var(--grm-cream);
  border-radius: 24px;
  padding: 48px 40px;
}

.cp-side h2 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  color: var(--grm-cream);
  margin-bottom: 18px;
}

.cp-side p {
  color: rgba(250, 247, 242, .75);
}

.cp-instruments {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.cp-instruments li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(199, 154, 82, .25);
}

.cp-instruments i {
  color: var(--grm-gold);
  margin-right: 10px;
}

.cp-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--grm-gold);
  color: var(--grm-gold);
  margin-right: 8px;
  transition: all .3s;
}

.cp-social a:hover {
  background: var(--grm-gold);
  color: var(--grm-navy);
}

.cp-form {
  background: #fff;
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 25px 60px -35px rgba(17, 28, 50, .35);
}

.cp-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--grm-navy);
}

.contact-page .cp-form .form-control {
  color: var(--grm-navy) !important;
  height: 50px;
  border-radius: 12px;
  border: 1px solid #e6dccb;
  background: var(--grm-cream) !important;
  transition: border-color .25s, box-shadow .25s;
}

.contact-page .cp-form textarea.form-control {
  height: 150px;
}

.contact-page .cp-form .form-control:focus {
  border-color: var(--grm-gold);
  box-shadow: 0 0 0 3px rgba(199, 154, 82, .2);
  background: #fff !important;
}

.cp-submit {
  margin-top: 8px;
  padding: 12px 30px;
}

.cp-submit.is-loading {
  opacity: .7;
  pointer-events: none;
}

.cp-success {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(60, 166, 56, .1);
  color: #3ca638;
  font-weight: 500;
}

.cp-success.show {
  display: block;
  animation: cpFade .5s ease;
}

@keyframes cpFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .cp-hero {
    padding: 90px 0 100px;
  }

  .cp-side,
  .cp-form {
    padding: 32px 22px;
  }

  .cp-side h2 {
    font-size: 32px;
  }
}