/* Contact page — notebook / جزوه */
.ct-page.hn-shell {
  --gutter: 52px;
  --edge: 16px;
  --max: 1080px;
  overflow-x: clip;
}
.ct-page .hn-holes {
  position: fixed;
  right: 10px;
  top: 88px;
  bottom: 48px;
  width: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}
.ct-page .hn-holes i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #efe6d4 0 35%, #c4b286 70%);
  box-shadow: inset 0 2px 3px rgba(0,0,0,.25), 0 0 0 2px #d7c39a;
}

.ct-wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 16px calc(var(--gutter) + 10px) 40px var(--edge);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.ct-flash {
  margin-bottom: 1rem;
  display: grid;
  gap: .45rem;
}
.ct-flash p {
  margin: 0;
  font-family: Gandom, Tahoma, sans-serif;
  font-weight: 800;
  font-size: .9rem;
  padding: .65rem .85rem;
  border-radius: 12px;
}
.ct-flash .is-ok {
  background: rgba(160,230,190,.55);
  border: 1.5px dashed #6bc49a;
  color: #146b45;
}
.ct-flash .is-err {
  background: rgba(255,200,200,.45);
  border: 1.5px dashed #e07a7a;
  color: #8b2020;
}

.ct-hero {
  position: relative;
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(197,217,238,.35) 27px 28px),
    rgba(255,253,247,.96);
  border: 2.5px dashed #b9a8ef;
  border-radius: 22px 26px 18px 24px;
  padding: 1.2rem 1.25rem 1.3rem;
  margin-bottom: 1.35rem;
  box-shadow: 4px 10px 0 rgba(90,70,140,.06);
  transform: rotate(-.35deg);
}
.ct-pin {
  position: absolute;
  top: -16px;
  right: 18px;
  width: 32px;
  z-index: 3;
  filter: drop-shadow(1px 2px 0 rgba(0,0,0,.12));
}
.ct-tape {
  position: absolute;
  top: -9px;
  left: 22%;
  width: 72px;
  height: 15px;
  background: repeating-linear-gradient(90deg, #fff59a 0 8px, #fff9c4 8px 16px);
  transform: rotate(-5deg);
  border-radius: 2px;
  pointer-events: none;
}
.ct-kicker {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: .82rem;
  font-weight: 800;
  color: #6f63c7;
  margin-bottom: .35rem;
}
.ct-hero h1 {
  margin: 0 0 .45rem;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  font-weight: 800;
  line-height: 1.55;
  color: #1e1830;
  background: linear-gradient(transparent 58%, rgba(255,229,106,.55) 58%, rgba(255,229,106,.55) 92%, transparent 92%);
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ct-hero p {
  margin: .5rem 0 0;
  max-width: 52ch;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: .95rem;
  line-height: 1.85;
  color: #5d5a6a;
  font-weight: 700;
}
.ct-hero-sticker {
  position: absolute;
  width: 96px;
  bottom: -16px;
  left: 6%;
  transform: rotate(-6deg);
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(60, 48, 120, .16));
}

.ct-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.35rem 1.75rem;
  align-items: start;
}

.ct-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}
.ct-card {
  position: relative;
  background: rgba(255,255,255,.82);
  border: 2px dashed #d5cfe8;
  border-radius: 16px 18px 14px 17px;
  padding: .85rem .9rem .9rem;
  box-shadow: 3px 6px 0 rgba(90,70,140,.04);
  transition: transform .12s, border-color .12s;
}
.ct-card:hover {
  border-color: #b9a8ef;
  transform: translateY(-1px);
}
.ct-card-wide {
  grid-column: 1 / -1;
}
.ct-card-sticker {
  position: absolute;
  width: 24px;
  top: -10px;
  left: 12px;
  pointer-events: none;
  filter: drop-shadow(1px 1px 0 rgba(0,0,0,.08));
}
.ct-card h2 {
  margin: 0 0 .35rem;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: .88rem;
  font-weight: 800;
  color: #6f63c7;
}
.ct-card a,
.ct-card p {
  margin: 0;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: .92rem;
  font-weight: 800;
  color: #1e1830;
  line-height: 1.7;
  text-decoration: none;
}
.ct-card a:hover { color: #6f63c7; }
.ct-postal {
  display: block;
  margin-top: .35rem;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: #6b6578;
}

.ct-social {
  background: rgba(239,234,255,.45);
  border: 2px dashed #c6b8f2;
  border-radius: 16px;
  padding: .85rem .95rem;
}
.ct-social h3 {
  margin: 0 0 .65rem;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: linear-gradient(transparent 55%, rgba(255,241,168,.85) 55%);
  padding: 0 .1rem;
}
.ct-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.ct-social-row a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .7rem;
  border: 1.5px solid #e8e2f2;
  border-radius: 999px;
  background: #fff;
  text-decoration: none !important;
  color: #1e1830 !important;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: .82rem;
  font-weight: 800;
  transition: border-color .12s, transform .12s;
}
.ct-social-row a:hover {
  border-color: #b9a8ef;
  transform: translateY(-1px);
}
.ct-social-row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.ct-form-wrap {
  position: sticky;
  top: 92px;
}
.ct-form-sheet {
  position: relative;
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(197,217,238,.35) 27px 28px),
    rgba(255,253,247,.98);
  border: 2.5px dashed #b9a8ef;
  border-radius: 20px 22px 16px 20px;
  padding: 1.1rem 1rem 1.15rem;
  box-shadow: 4px 10px 0 rgba(90,70,140,.06);
}
.ct-form-pin {
  position: absolute;
  top: -12px;
  left: 14px;
  width: 26px;
  transform: rotate(-14deg);
  z-index: 2;
}
.ct-form-tape {
  position: absolute;
  top: -8px;
  right: 16%;
  width: 64px;
  height: 14px;
  background: repeating-linear-gradient(90deg, #f7c9de 0 8px, #fde8f1 8px 16px);
  transform: rotate(4deg);
  border-radius: 2px;
  pointer-events: none;
}
.ct-form-sheet h2 {
  margin: 0 0 .35rem;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.ct-form-lead {
  margin: 0 0 1rem;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: .86rem;
  color: #6b6578;
  font-weight: 700;
  line-height: 1.7;
}

.ct-form {
  display: grid;
  gap: .75rem;
}
.ct-field {
  display: grid;
  gap: .3rem;
}
.ct-field span {
  font-family: Gandom, Tahoma, sans-serif;
  font-size: .82rem;
  font-weight: 800;
  color: #5d5a6a;
}
.ct-field input,
.ct-field textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: #1e1830;
  background: rgba(255,255,255,.88);
  border: 1.5px solid #e0d8f4;
  border-radius: 12px;
  padding: .65rem .75rem;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
  resize: vertical;
}
.ct-field input:focus,
.ct-field textarea:focus {
  border-color: #6f63c7;
  box-shadow: 0 0 0 3px rgba(111,99,199,.12);
}
.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #a8a3b5;
  font-weight: 600;
}

.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  margin-top: .25rem;
  border: 0;
  border-radius: 999px;
  padding: .75rem 1rem;
  font-family: Gandom, Tahoma, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  background: #6f63c7;
  box-shadow: 3px 4px 0 rgba(80,60,140,.18);
  cursor: pointer;
  transition: transform .12s, opacity .12s;
}
.ct-submit:hover {
  transform: translateY(-1px);
  opacity: .95;
}

@media (max-width: 980px) {
  .ct-page.hn-shell { --gutter: 18px; }
  .ct-page .hn-holes { display: none; }
  .ct-layout { grid-template-columns: 1fr; }
  .ct-form-wrap { position: static; }
  .ct-hero { transform: none; }
  .ct-hero-sticker { display: none; }
}
@media (max-width: 640px) {
  .ct-page.hn-shell { --gutter: 12px; --edge: 12px; }
  .ct-wrap { padding: 10px 12px 28px; }
  .ct-cards { grid-template-columns: 1fr; }
}
