/*!
 * Diacto Labs — Contact page.
 * Layout, spacing, colours and type are set in Elementor. This file only holds what Elementor
 * cannot do on its own: animations, hover effects, the glass blur, decoration and the
 * DL Contact Form widget's fields.
 */

/* ---------- Decorative HTML layers (rings, glows, map illustration) fill their section ---------- */
.dlc .elementor-element.dl-deco-w { position: absolute !important; inset: 0; width: 100% !important; height: 100%; max-width: none; margin: 0; pointer-events: none; z-index: 0; }
.dlc .elementor-element.dl-deco-w > .elementor-widget-container { height: 100%; }
.dlc .dk-hero > .elementor-element:not(.dl-deco-w),
.dlc .sf > .elementor-element:not(.dl-deco-w) { position: relative; z-index: 1; }

/* ---------- Hero: rings blooming outward (inner ring glows gold), soft glow below ---------- */
.dlc .dk-rings { position: absolute; inset: 0; overflow: hidden; }
.dlc .dk-rings i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); opacity: 0; animation: dlcRipple 10s linear infinite; }
.dlc .dk-rings i:nth-child(1) { width: 480px; height: 480px; }
.dlc .dk-rings i:nth-child(2) { width: 820px; height: 820px; animation-delay: -2s; }
.dlc .dk-rings i:nth-child(3) { width: 1160px; height: 1160px; animation-delay: -4s; }
.dlc .dk-rings i:nth-child(4) { width: 1500px; height: 1500px; animation-delay: -6s; }
.dlc .dk-rings i:nth-child(5) { animation-delay: -8s; }
@keyframes dlcRipple {
	0%   { width: 120px; height: 120px; opacity: 0; border-color: #FFC21A; box-shadow: 0 0 26px 2px rgba(247,181,0,0.75), inset 0 0 18px rgba(247,181,0,0.45); }
	8%   { opacity: 1; }
	26%  { border-color: rgba(247,181,0,0.6); box-shadow: 0 0 16px rgba(247,181,0,0.35), inset 0 0 10px rgba(247,181,0,0.18); }
	50%  { border-color: rgba(255,255,255,0.13); box-shadow: 0 0 0 rgba(247,181,0,0), inset 0 0 0 rgba(247,181,0,0); }
	75%  { opacity: .9; }
	100% { width: 1500px; height: 1500px; opacity: 0; border-color: rgba(255,255,255,0.1); box-shadow: 0 0 0 rgba(247,181,0,0), inset 0 0 0 rgba(247,181,0,0); }
}
.dlc .dk-glow { position: absolute; left: 50%; bottom: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(247,181,0,0.28), rgba(247,181,0,0)); }
.dlc .dl-crumb-link a:hover { color: #FFFFFF !important; }

/* Text columns next to an icon may shrink so long words wrap inside their card. */
.dlc .e-con.dl2-shrink { min-width: 0; }

/* Body copy set in Heading widgets (p/span) wraps like normal text, not balanced like titles. */
.dlc p.elementor-heading-title, .dlc span.elementor-heading-title { text-wrap: wrap; }

/* Icon badges sit flush (no inline baseline gap under the icon). */
.dlc .elementor-widget-icon .elementor-icon-wrapper { display: flex; }

/* ---------- Map ---------- */
.dlc .map-ph { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dlc .dl-map-card { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dl2-btn-sm .elementor-button { min-height: 40px; }
.dl2-btn-sm .elementor-button-icon svg { width: 14px !important; height: 14px !important; }

/* ---------- DL Contact Form widget ---------- */
.dlc .c-form-card { border-radius: 24px; background: #ffffff; padding: 36px 36px 32px; }
.dlc .c-form-card h2 { margin: 0; font-size: 1.5em; font-weight: 700; line-height: 1.2; color: #0a0a0a; }
.dlc .c-form-intro { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: #6e6e73; }
.dlc .c-form { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.dlc .field { display: flex; flex-direction: column; gap: 8px; }
.dlc .field-full { grid-column: 1 / -1; }
.dlc .field label { font-size: 14px; font-weight: 500; color: #1d1d1f; }
.dlc .field label span { color: #b07f00; }
.dlc .field input, .dlc .field select, .dlc .field textarea { width: 100%; min-height: 54px; padding: 0 18px; border-radius: 16px; border: 1px solid transparent; background: #f5f5f7; font: inherit; font-size: 15px; color: #0a0a0a; box-shadow: none; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.dlc .field textarea { min-height: 140px; padding: 16px 18px; resize: vertical; line-height: 1.6; }
.dlc .field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 48px; 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='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.dlc .field select:invalid { color: #8e8e93; }
.dlc .field input::placeholder, .dlc .field textarea::placeholder { color: #8e8e93; }
.dlc .field input:hover, .dlc .field select:hover, .dlc .field textarea:hover { background-color: #efeff2; }
.dlc .field input:focus, .dlc .field select:focus, .dlc .field textarea:focus { outline: none; background-color: #ffffff; border-color: #0a0a0a; box-shadow: 0 0 0 4px rgba(247,181,0,0.18); }
.dlc .field.has-error input, .dlc .field.has-error select, .dlc .field.has-error textarea { border-color: #d70015; background-color: #fff6f6; }
.dlc .consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; line-height: 1.6; color: #6e6e73; cursor: pointer; }
.dlc .consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #0a0a0a; flex-shrink: 0; }
.dlc .consent a { color: #0a0a0a; text-decoration: underline; }
.dlc .consent.has-error span { color: #d70015; }
.dlc .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.dlc .c-form .btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px; background: #0a0a0a; color: #ffffff; font: inherit; font-size: 16px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.dlc .c-form .btn svg { transition: transform .25s ease; }
.dlc .c-form .btn:hover { background: #2a2a2d; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.45); }
.dlc .c-form .btn:hover svg { transform: translateX(3px); }
.dlc .c-form .btn:active { transform: scale(0.98); }
.dlc .c-form .btn:disabled { opacity: .6; cursor: progress; }
.dlc .form-note { margin: 0; font-size: 14px; color: #6e6e73; }
.dlc .form-note.ok { color: #1d1d1f; display: inline-flex; align-items: center; gap: 8px; }
.dlc .form-note.ok::before { content: ""; width: 8px; height: 8px; background: #F7B500; }
.dlc .form-note.err { color: #d70015; }
.dlc .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Info cards: copy button + link hover ---------- */
.dlc .dl-copy-value .elementor-heading-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.dlc .co-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid #d9d9de; background: #ffffff; font: inherit; font-size: 12px; font-weight: 500; line-height: 1; color: #3a3a3c; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.dlc .co-copy:hover { border-color: #0a0a0a; color: #0a0a0a; background: #ffffff; }
.dlc .co-copy.is-done { border-color: #F7B500; color: #0a0a0a; }
.dlc .e-con.info-link { transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.dlc .e-con.info-link:hover { border-color: #d2d2d7 !important; box-shadow: 0 20px 40px -26px rgba(20,20,30,0.35); transform: translateY(-2px); }
.dlc .dl-follow .elementor-icon { transition: transform .25s ease; }
.dlc .info-link:hover .dl-follow .elementor-icon { transform: translateX(3px); }

/* ---------- Route cards ---------- */
.dlc .e-con.rc { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.dlc .rc .rc-icon .elementor-icon { transition: background-color .3s ease, color .3s ease, fill .3s ease; }
.dlc .rc-arrow .elementor-icon { transition: transform .25s ease; }
.dlc .e-con.rc:hover { transform: translateY(-4px); border-color: #d2d2d7 !important; box-shadow: 0 30px 60px -36px rgba(20,20,30,0.35); }
.dlc .rc:not(.rc-featured):hover .rc-icon .elementor-icon { background-color: #0a0a0a !important; color: #F7B500 !important; fill: #F7B500 !important; }
.dlc .rc:hover .rc-arrow .elementor-icon { transform: translateX(3px); }
.dlc .e-con.rc-featured:hover { border-color: #0a0a0a !important; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5); }
.dlc .rc-featured:hover .rc-arrow .elementor-icon { transform: translateY(-3px); }

/* ---------- Product cards: tint circle + hover ---------- */
.dlc .e-con.pc { --tint: rgba(124,92,255,0.16); transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease; }
.dlc .e-con.pc-teal { --tint: rgba(20,184,166,0.16); }
.dlc .e-con.pc-blue { --tint: rgba(37,99,235,0.14); }
.dlc .e-con.pc::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--tint); transition: transform .5s ease; z-index: 0; pointer-events: none; }
.dlc .e-con.pc > .elementor-element { position: relative; z-index: 1; }
.dlc .e-con.pc:hover { background-color: #ffffff !important; transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(20,20,30,0.35); }
.dlc .e-con.pc:hover::after { transform: scale(1.25); }
.dlc .e-con.pc-go { transition: background-color .25s ease, border-color .25s ease; }
.dlc .pc:hover .e-con.pc-go { background-color: #0a0a0a !important; border-color: #0a0a0a !important; }
.dlc .pc:hover .pc-go .elementor-heading-title { color: #ffffff !important; }
.dlc .pc:hover .pc-go .elementor-icon { color: #ffffff !important; fill: #ffffff !important; }

/* ---------- Contact footer ---------- */
.dlc .sf-glow { position: absolute; left: 50%; top: -280px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(247,181,0,0.24), rgba(247,181,0,0)); }
.dlc .sf-social .elementor-icon { box-shadow: inset 0 0 0 1px #3A3A3C; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.dlc .sf-social .elementor-icon:hover { background-color: #F7B500 !important; box-shadow: inset 0 0 0 1px #F7B500; color: #0a0a0a !important; fill: #0a0a0a !important; transform: translateY(-2px); }

/* ---------- Small screens: form fields stack ---------- */
@media (max-width: 560px) {
	.dlc .c-form-card { padding: 26px 18px; }
	.dlc .c-form { grid-template-columns: 1fr; }
	.dlc .form-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.dlc *, .dlc *::before, .dlc *::after { animation: none !important; transition: none !important; }
	.dlc .dk-rings i { opacity: 1; } .dlc .dk-rings i:nth-child(5) { display: none; }
	.dlc .dk-rings i:nth-child(1) { border-color: rgba(247,181,0,0.7); box-shadow: 0 0 22px rgba(247,181,0,0.45), inset 0 0 14px rgba(247,181,0,0.25); }
}
