/* Contact page (page-contact.php). Builds on sc-about-page.css (buttons,
   hero, labels, FAQ). */

/* 1. Hero (centred, shorter) */
.sc-contactp__hero { padding-block: 60px 0; }
.sc-contactp__hero::after { height: 60px; }
.sc-contactp__hero-in { position: relative; z-index: 1; max-width: 760px; padding-bottom: 130px; text-align: center; }
.sc-contactp__hero h1 { margin: 0 0 16px; color: #fff; font-size: 48px; font-weight: 900; line-height: 1.35; }
.sc-contactp__hero p { margin: 0 auto 22px; max-width: 600px; color: rgba(255, 255, 255, .8); font-size: 17px; }
.sc-contactp__eta { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--sc-pill); background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; font-weight: 700; backdrop-filter: blur(8px); }
.sc-contactp__eta .sc-icon { color: var(--gold1); }

/* 2. Contact cards overlapping the hero */
.sc-contactp__cards { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: -110px 0 0; padding: 0; list-style: none; }
.sc-contactp__card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: 100%; padding: 24px 22px; border-radius: 26px; background: #fff; color: var(--sc-ink); box-shadow: 0 22px 44px rgba(28, 43, 51, .12); transition: transform .25s, box-shadow .25s; }
a.sc-contactp__card:hover { transform: translateY(-6px); box-shadow: 0 30px 54px rgba(28, 43, 51, .18); color: var(--sc-ink); }
/* Icon tile: site green with a gold duotone icon; gold tile with green icon on hover */
.sc-contactp__ci { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 10px; border-radius: 19px; background: radial-gradient(circle at 30% 20%, rgba(255, 216, 107, .25), transparent 60%), linear-gradient(150deg, var(--g1), var(--g2)); color: var(--gold1); box-shadow: 0 12px 24px rgba(11, 46, 36, .25), inset 0 1px 0 rgba(255, 255, 255, .15); transition: background .25s, color .25s, transform .3s; }
a.sc-contactp__card:hover .sc-contactp__ci { background: linear-gradient(135deg, var(--gold1), var(--gold2)); color: var(--g2); transform: rotate(-6deg); }
.sc-contactp__card small { color: var(--sc-muted); font-size: 13px; font-weight: 700; }
.sc-contactp__card b { font-size: 16px; font-weight: 900; line-height: 1.5; word-break: break-word; }
.sc-contactp__go { position: absolute; top: 22px; inset-inline-end: 22px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #F4F1EA; color: var(--g1); transition: background .2s, color .2s; }
a.sc-contactp__card:hover .sc-contactp__go { background: linear-gradient(135deg, var(--gold1), var(--gold2)); color: var(--g2); }

/* 3. Topics | form */
.sc-contactp__main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 48px; }
.sc-contactp__topics > p { margin: 0 0 22px; }
.sc-contactp__guides { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sc-contactp__guides li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 22px; background: #fff; box-shadow: 0 10px 24px rgba(28, 43, 51, .05); transition: transform .2s; }
.sc-contactp__guides li:hover { transform: translateX(-4px); }
.sc-contactp__gi { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: #FFF4D6; color: #A87300; }
.sc-contactp__guides li > span:last-child { display: flex; flex-direction: column; gap: 3px; color: #4A5A55; font-size: 14.5px; line-height: 1.8; }
.sc-contactp__guides strong { color: var(--sc-ink); font-size: 16.5px; font-weight: 900; }

/* Form card */
.sc-contactp__form-card { padding: 34px; border-radius: 32px; background: #fff; box-shadow: 0 30px 60px rgba(28, 43, 51, .1); scroll-margin-top: 110px; }
.sc-contactp__form-card h3 { margin: 0 0 20px; color: var(--sc-ink); font-size: 24px; font-weight: 900; }
.sc-contactp__form { display: grid; gap: 16px; }
.sc-contactp__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sc-contactp__form label > span, .sc-contactp__topic-pick legend { display: block; margin-bottom: 7px; color: var(--sc-ink); font-size: 14px; font-weight: 800; }
.sc-contactp__form input[type="text"], .sc-contactp__form input[type="email"], .sc-contactp__form textarea { width: 100%; padding: 13px 16px; border: 1.5px solid transparent; border-radius: 16px; background: #F4F1EA; color: var(--sc-ink); font: inherit; font-size: 15px; transition: border-color .2s, background .2s, box-shadow .2s; box-sizing: border-box; }
.sc-contactp__form input:focus, .sc-contactp__form textarea:focus { border-color: var(--g1); background: #fff; outline: 0; box-shadow: 0 0 0 4px rgba(15, 90, 68, .1); }
.sc-contactp__form textarea { resize: vertical; min-height: 130px; }
.sc-contactp__topic-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.sc-contactp__topic-pick legend { width: 100%; }
.sc-contactp__topic-pick label { cursor: pointer; }
.sc-contactp__topic-pick input { position: absolute; opacity: 0; pointer-events: none; }
.sc-contactp__topic-pick label span { display: inline-block; padding: 8px 14px; border-radius: var(--sc-pill); background: #F4F1EA; color: #4A5A55; font-size: 13.5px; font-weight: 700; transition: background .2s, color .2s; }
.sc-contactp__topic-pick input:checked + span { background: linear-gradient(150deg, var(--g1), var(--g2)); color: var(--gold1); }
.sc-contactp__topic-pick input:focus-visible + span { box-shadow: 0 0 0 3px rgba(245, 184, 46, .5); }
.sc-contactp__form .sc-about-home__btn { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.sc-contactp__privacy { color: var(--sc-muted); font-size: 12.5px; }
.sc-contactp__hp { position: absolute; left: -9999px; }
.sc-contactp__notice { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 12px 16px; border-radius: 16px; font-size: 14.5px; font-weight: 700; }
.sc-contactp__notice.is-ok { background: #E7F6EE; color: #0F5A44; }
.sc-contactp__notice.is-error { background: #FDECEC; color: #B23A3A; }

/* Hero split: text | agent image (bottom-aligned, sits on the curve) */
.sc-contactp__hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 30px; }
.sc-contactp__hero-grid .sc-contactp__hero-in { max-width: none; align-self: center; text-align: start; }
.sc-contactp__hero-grid .sc-contactp__hero-in p { margin-inline: 0; }
.sc-contactp__hero-art { position: relative; display: flex; justify-content: center; align-self: end; padding-bottom: 110px; }
.sc-contactp__hero-art img { position: relative; z-index: 1; display: block; width: 100%; max-width: 340px; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .3)); }
.sc-contactp__hero-ring { position: absolute; bottom: 130px; left: 50%; width: 320px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(245, 184, 46, .35), rgba(245, 184, 46, .08) 60%, transparent 70%); transform: translateX(-50%); }
/* Envelope above the topics + 3D icons in the guides */
.sc-contactp__mail { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 0 14px; }
.sc-contactp__gi { width: 58px; height: 58px; border-radius: 18px; background: #FFF6DC; }
.sc-contactp__gi img { display: block; width: 46px; height: 46px; object-fit: contain; }

/* ---- Richer layer ---- */
/* Floating glass badges around the agent */
.sc-contactp__float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; backdrop-filter: blur(10px); box-shadow: 0 14px 30px rgba(0, 0, 0, .2); animation: sc-cfloat 5s ease-in-out infinite; }
.sc-contactp__float .sc-icon { display: grid; place-items: center; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: linear-gradient(135deg, var(--gold1), var(--gold2)); color: var(--g2); box-sizing: border-box; }
.sc-contactp__float--a { top: 18%; inset-inline-start: -4%; }
.sc-contactp__float--b { top: 46%; inset-inline-end: -6%; animation-delay: -1.6s; }
.sc-contactp__float--c { bottom: 150px; inset-inline-start: 2%; animation-delay: -3.2s; }
@keyframes sc-cfloat { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .sc-contactp__float { animation: none; } }

/* Topics: a dark green panel opposite the white form */
.sc-contactp__main { gap: 28px; align-items: stretch; }
.sc-contactp__topics { position: relative; overflow: hidden; padding: 40px 36px; border-radius: 34px; color: rgba(255, 255, 255, .78); background: radial-gradient(420px 260px at 85% 0%, rgba(245, 184, 46, .22), transparent 70%), linear-gradient(160deg, var(--g1), var(--g2)); }
.sc-contactp__topics::before { content: ""; position: absolute; bottom: -90px; inset-inline-start: -90px; width: 240px; height: 240px; border: 2px dashed rgba(245, 184, 46, .25); border-radius: 50%; }
.sc-contactp__topics h2 { color: #fff; }
.sc-contactp__topics > p { color: rgba(255, 255, 255, .78); }
.sc-contactp__topics .sc-aboutp__label { background: rgba(255, 255, 255, .1); color: var(--gold1); }
/* Header: text column | envelope column (in the flow, no overlap) */
.sc-contactp__topics { display: grid; grid-template-columns: minmax(0, 1fr) 140px; column-gap: 18px; align-content: start; }
.sc-contactp__topics > * { grid-column: 1; position: relative; }
.sc-contactp__topics > .sc-aboutp__label { justify-self: start; }
.sc-contactp__topics > h2 { margin-top: 12px; font-size: 32px; line-height: 1.35; }
.sc-contactp__mail { grid-column: 2; grid-row: 1 / 4; align-self: center; width: 140px; max-width: none; margin: 0; transform: rotate(8deg); filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .3)); }
.sc-contactp__topics > .sc-contactp__guides { grid-column: 1 / -1; }
/* Guides: 2×2 tiles with the 3D icons on top */
.sc-contactp__guides { position: relative; grid-template-columns: 1fr 1fr; gap: 14px; }
.sc-contactp__guides li { flex-direction: column; gap: 10px; padding: 18px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .07); box-shadow: none; backdrop-filter: blur(6px); transition: transform .25s, background .25s; }
.sc-contactp__guides li:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .13); }
.sc-contactp__gi { width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, #FFF6DC, #FFE7A3); box-shadow: 0 10px 20px rgba(0, 0, 0, .18); }
.sc-contactp__gi img { width: 52px; height: 52px; }
.sc-contactp__guides li > span:last-child { color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.sc-contactp__guides strong { color: #fff; }

/* Form card: gold accent and a header */
.sc-contactp__form-card { position: relative; overflow: hidden; border-top: 6px solid var(--gold1); }
.sc-contactp__form-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sc-contactp__form-head h3 { margin: 0; }
.sc-contactp__form-head small { color: var(--sc-muted); font-size: 13.5px; }
.sc-contactp__form-ic { display: grid; flex: none; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: linear-gradient(150deg, var(--g1), var(--g2)); color: var(--gold1); box-shadow: 0 12px 24px rgba(11, 46, 36, .25); }

@media (max-width: 1000px) {
	.sc-contactp__float--a { inset-inline-start: 4%; }
	.sc-contactp__float--b { inset-inline-end: 2%; }
	.sc-contactp__hero-grid { grid-template-columns: 1fr; }
	.sc-contactp__hero-grid .sc-contactp__hero-in { padding-bottom: 10px; text-align: center; }
	.sc-contactp__hero-grid .sc-contactp__hero-in p { margin-inline: auto; }
	.sc-contactp__hero-art img { max-width: 230px; }
	.sc-contactp__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sc-contactp__main { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.sc-contactp__hero { padding-top: 32px; }
	.sc-contactp__hero-art { padding-bottom: 90px; }
	.sc-contactp__hero-art img { max-width: 190px; }
	.sc-contactp__hero-ring { width: 200px; bottom: 100px; }
	.sc-contactp__topics { grid-template-columns: minmax(0, 1fr) 84px; column-gap: 10px; padding: 26px 18px; border-radius: 26px; }
	.sc-contactp__topics > h2 { font-size: 24px; }
	.sc-contactp__topics > p { font-size: 14px; }
	.sc-contactp__mail { grid-row: 1 / 3; width: 84px; }
	.sc-contactp__guides { gap: 10px; }
	.sc-contactp__guides li { padding: 14px 12px; }
	.sc-contactp__float { padding: 6px 11px; font-size: 11.5px; }
	.sc-contactp__float--c { bottom: 110px; }
	.sc-contactp__gi { width: 50px; height: 50px; }
	.sc-contactp__gi img { width: 40px; height: 40px; }
	.sc-contactp__hero h1 { font-size: 30px; }
	.sc-contactp__hero p { font-size: 15px; }
	.sc-contactp__cards { gap: 10px; margin-top: -84px; }
	.sc-contactp__card { padding: 16px 14px; border-radius: 20px; }
	.sc-contactp__ci { width: 42px; height: 42px; margin-bottom: 6px; border-radius: 14px; }
	.sc-contactp__card b { font-size: 13px; }
	.sc-contactp__go { top: 14px; inset-inline-end: 14px; width: 26px; height: 26px; }
	.sc-contactp__guides li { padding: 14px; }
	.sc-contactp__form-card { padding: 22px 16px; border-radius: 24px; }
	.sc-contactp__row { grid-template-columns: 1fr; }
	.sc-contactp__form .sc-about-home__btn { justify-self: stretch; justify-content: center; }
}
