/* ===================================================
   GH EduConsultants digital business card (/card)
   Loads after index.css for the colour tokens, fonts and the .btn style.
   All classes start with cd- so they never clash with the other pages.
   =================================================== */

.page-card { min-height: 100vh; min-height: 100svh; background: var(--bg); }
.cd { max-width: 452px; margin: 0 auto; padding: 28px 14px 40px; }
.cd-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 1px 2px var(--shade-1), 0 30px 70px var(--shade-2); }

/* The six service colours as a thin band across the top */
.cd-band { display: flex; height: 7px; }
.cd-band i { flex: 1; }

/* Head: logo, who it is for, the promise, two actions */
.cd-head { padding: 30px 24px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cd-brand { margin: 0; display: flex; align-items: center; gap: 12px; font-weight: inherit; }
.cd-brand .gh-mark { width: 62px; height: auto; }
.cd-brand .brand-word { font-size: 27px; }
.cd-role { margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.cd-promise { margin-top: 12px; max-width: 330px; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
/* Actions: WhatsApp, Save contact, Website and Facebook as a row of icons, like a phone's contact card */
.cd-actions { width: 100%; margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cd-act { display: flex; flex-direction: column; align-items: center; gap: 9px; border-radius: 16px; color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.cd-act-ic { width: 60px; height: 60px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--line); color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease; }
.cd-act:hover .cd-act-ic { transform: translateY(-2px); background: var(--white); border-color: var(--line-2); box-shadow: 0 8px 18px var(--shade-2); }
.cd-act-wa .cd-act-ic, .cd-act-wa:hover .cd-act-ic { background: var(--green); border-color: var(--green); color: var(--white); box-shadow: 0 10px 22px rgba(31, 157, 85, .32); }
.cd-act-save .cd-act-ic, .cd-act-save:hover .cd-act-ic { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: 0 10px 22px var(--shade-3); }

/* Sections */
.cd-sec { padding: 18px 20px; border-top: 1px solid var(--line); }
.cd-h { margin: 0 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--ink-mute); }

/* Contact rows */
.cd-rows { display: flex; flex-direction: column; }
.cd-rows li > a, .cd-rows li > div { display: flex; align-items: center; gap: 14px; padding: 9px 4px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.cd-rows li > a:hover { background: var(--bg); }
.cd-ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.cd-ic-wa { background: var(--green-tint); border-color: var(--green-line); color: var(--green); }
.cd-ic-time { background: #FBF0DA; border-color: #F1DDB3; color: #B07A1C; }
.cd-v { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cd-v small { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--ink-mute); }
.cd-v b { font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; }
.cd-rows a > svg:last-child { flex-shrink: 0; color: var(--ink-mute); transition: transform .15s ease, color .15s ease; }
.cd-rows a:hover > svg:last-child { transform: translateX(2px); color: var(--ink); }

/* Services: tapping one drops down its explanation (one open at a time) */
.cd-svc { display: flex; flex-direction: column; gap: 6px; }
.cd-s { border-radius: 14px; background: var(--bg); transition: background-color .15s ease; }
.cd-s:hover, .cd-s.is-open { background: #F1EEE9; }
.cd-s-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: 14px; background: none; color: var(--ink); font-family: var(--inter); font-size: 14.5px; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; }
.cd-s-btn > i { width: 12px; height: 12px; flex-shrink: 0; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.cd-s-btn > span { flex: 1; }
.cd-s-btn > svg { flex-shrink: 0; color: var(--ink-mute); transition: transform .3s ease, color .15s ease; }
.cd-s-btn:hover > svg { color: var(--ink); }
.cd-s.is-open .cd-s-btn > svg { transform: rotate(180deg); color: var(--ink); }
.cd-s-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.cd-s.is-open .cd-s-body { grid-template-rows: 1fr; }
.cd-s-body > div { overflow: hidden; min-height: 0; }
.cd-s-in { padding: 0 14px 14px 36px; }
.cd-s-in p { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.cd-s-in ul { margin-top: 9px; display: flex; flex-direction: column; gap: 6px; }
.cd-s-in li { position: relative; padding-left: 17px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.cd-s-in li::before { content: ''; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 2px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.cd-s-in .cd-s-note { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--ink); }

/* The free humaniser: FREE in a green ring, the GH mark and "Humaniser", Turnitin compatible, a round arrow */
.cd-hz { display: flex; align-items: center; gap: 13px; padding: 13px; border-radius: 20px; background: var(--white); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px var(--shade-1), 0 14px 30px var(--shade-2); transition: transform .15s ease, box-shadow .15s ease; }
.cd-hz:hover { transform: translateY(-1px); box-shadow: 0 1px 2px var(--shade-1), 0 18px 36px var(--shade-3); }
.cd-hz-ring { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: conic-gradient(var(--green) 0 82%, var(--green-line) 82% 100%); display: flex; align-items: center; justify-content: center; }
.cd-hz-ring span { width: 46px; height: 46px; border-radius: 50%; background: var(--green-tint); color: var(--green-ink); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.cd-hz-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.cd-hz-t b { display: flex; align-items: center; gap: 8px; font-family: var(--sora); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.cd-hz-mark { width: 33px; height: auto; flex-shrink: 0; }
.cd-hz-t small { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--green-ink); white-space: nowrap; }
.cd-hz-t small svg { color: var(--green); }
.cd-hz-go { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 16px var(--shade-3); transition: transform .15s ease; }
.cd-hz:hover .cd-hz-go { transform: translateX(2px); }

/* Share */
.cd-foot { padding: 6px 20px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cd-share { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px; border: 0; border-radius: 15px; background: var(--accent); color: var(--white); font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 22px rgba(180, 83, 42, .3); transition: transform .15s ease, background-color .15s ease; }
.cd-share:hover { background: #9E4722; transform: translateY(-1px); }
.cd-note { font-size: 12.5px; color: var(--ink-mute); text-align: center; }
.cd-note.is-ok { color: var(--green-ink); font-weight: 600; }

/* Below 400px the labels get smaller so "Save contact" keeps clear space from its neighbours */
@media (max-width: 399px) { .cd-act { font-size: 11.5px; } }
@media (max-width: 380px) {
  .cd { padding: 14px 10px 28px; }
  .cd-head { padding: 26px 18px 20px; }
  .cd-brand .gh-mark { width: 54px; }
  .cd-brand .brand-word { font-size: 23px; }
  .cd-sec { padding: 16px 14px; }
  .cd-actions { gap: 4px; }
  .cd-act-ic { width: 54px; height: 54px; border-radius: 18px; }
}
@media (min-width: 640px) { .cd { padding-top: 56px; } }
