:root {
  --lc-primary: #5a3bc5;
  --lc-primary-dark: #392697;
  --lc-primary-soft: #7758e4;
  --lc-blue: #397ee9;
  --lc-text: #27315f;
  --lc-muted: #6f7898;
  --lc-border: #dbe5f6;
  --lc-surface: #ffffff;
  --lc-background: #f8fbff;
  --lc-shadow: 0 14px 38px rgba(57, 70, 126, .11), 0 2px 8px rgba(68, 81, 137, .06);
  --lc-wrap: 1120px;
}

html { scroll-behavior: smooth; }
body.lughty-contact-template-body { margin: 0; background: var(--lc-background); }
body.lughty-contact-template-body #wpadminbar { direction: ltr; }

.lughty-contact-page,
.lughty-contact-page * { box-sizing: border-box; }

.lughty-contact-page {
  direction: rtl;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(183, 218, 255, .42), transparent 24%),
    radial-gradient(circle at 88% 22%, rgba(218, 204, 255, .28), transparent 25%),
    linear-gradient(180deg, #f7fbff 0%, #fff 42%, #f8fbff 100%);
  color: var(--lc-text);
  font-family: "Tajawal", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 44px;
}

.lughty-contact-page img { max-width: 100%; height: auto; display: block; }
.lughty-contact-page a { color: inherit; text-decoration: none; }
.lughty-contact-page button,
.lughty-contact-page input,
.lughty-contact-page select,
.lughty-contact-page textarea { font: inherit; }
.lughty-contact-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.lc-wrap { width: min(calc(100% - 44px), var(--lc-wrap)); margin-inline: auto; }
.lc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.lc-skip-link { position: fixed; top: 8px; right: 8px; z-index: 99999; transform: translateY(-150%); padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--lc-primary); box-shadow: var(--lc-shadow); font-weight: 800; }
.lc-skip-link:focus { transform: none; }

.lc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.lc-button svg { width: 21px; height: 21px; flex: 0 0 auto; }
.lc-button:hover { transform: translateY(-2px); }
.lc-button-primary { color: #fff !important; background: linear-gradient(135deg, #7250db 0%, #4d30b2 100%); box-shadow: 0 10px 20px rgba(81, 54, 185, .22); }
.lc-button-primary:hover { box-shadow: 0 13px 26px rgba(81, 54, 185, .29); }
.lc-button-outline { color: #4d35b0 !important; background: rgba(255,255,255,.88); border-color: #745de0; box-shadow: 0 7px 17px rgba(77, 59, 166, .08); }
.lc-button-small { min-height: 36px; padding-inline: 18px; border-radius: 12px; font-size: 12px; }

/* Hero */
.lc-hero {
  position: relative;
  min-height: 395px;
  padding: 30px 0 35px;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.82) 4%, rgba(255,255,255,.36) 46%, rgba(220,238,255,.12) 100%),
    radial-gradient(circle at 72% 43%, rgba(179,221,255,.42), transparent 34%),
    linear-gradient(180deg, #eaf6ff 0%, #f4f9ff 67%, #fff 100%);
}
.lc-hero::before,
.lc-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
}
.lc-hero::before { width: 360px; height: 360px; right: -100px; top: -95px; background: rgba(172, 214, 255, .31); }
.lc-hero::after { width: 250px; height: 250px; left: -80px; bottom: -110px; background: rgba(204, 224, 255, .47); }
.lc-hero-grid { min-height: 325px; display: grid; grid-template-columns: .92fr 1.15fr; align-items: center; gap: 15px; direction: ltr; }
.lc-hero-copy { direction: rtl; text-align: right; padding-left: 28px; }
.lc-hero-copy h1 { margin: 0 0 12px; color: #5134b3; font-size: clamp(50px, 5vw, 73px); line-height: 1.05; letter-spacing: -.035em; font-weight: 900; text-shadow: 0 5px 0 rgba(255,255,255,.65); }
.lc-hero-copy p { margin: 0; color: #384366; font-size: 18px; font-weight: 600; line-height: 1.9; }
.lc-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 24px; }
.lc-hero-art { direction: rtl; display: flex; align-items: center; justify-content: center; height: 335px; }
.lc-hero-art img { width: min(650px, 100%); max-height: 390px; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(61, 81, 145, .08)); }
.lc-hero-clouds { position: absolute; right: -3%; left: -3%; bottom: -34px; height: 86px; z-index: -1; opacity: .98; background: radial-gradient(ellipse at 8% 84%, #fff 0 35%, transparent 36%), radial-gradient(ellipse at 18% 88%, #fff 0 31%, transparent 32%), radial-gradient(ellipse at 30% 85%, #fff 0 37%, transparent 38%), radial-gradient(ellipse at 44% 93%, #fff 0 34%, transparent 35%), radial-gradient(ellipse at 58% 86%, #fff 0 38%, transparent 39%), radial-gradient(ellipse at 71% 92%, #fff 0 34%, transparent 35%), radial-gradient(ellipse at 84% 86%, #fff 0 39%, transparent 40%), radial-gradient(ellipse at 96% 90%, #fff 0 34%, transparent 35%); }
.lc-decor { position: absolute; z-index: 1; pointer-events: none; font-weight: 900; filter: drop-shadow(0 4px 5px rgba(82, 91, 149, .12)); }
.lc-star { color: #ffd650; }
.lc-star-1 { left: 8%; top: 25%; font-size: 23px; transform: rotate(-13deg); }
.lc-star-2 { left: 49%; top: 18%; color: #86c9ff; font-size: 19px; }
.lc-letter { color: #8062dd; font-size: 35px; opacity: .7; }
.lc-letter-1 { right: 9%; top: 30%; transform: rotate(8deg); }
.lc-letter-2 { right: 41%; bottom: 22%; color: #57c4ac; transform: rotate(-7deg); }

/* Contact method cards */
.lc-contact-methods { position: relative; z-index: 4; margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lc-method-card { min-height: 128px; display: flex; align-items: center; gap: 10px; padding: 15px 15px; border: 1px solid var(--lc-border); border-radius: 19px; background: rgba(255,255,255,.95); box-shadow: var(--lc-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.lc-method-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(58,71,130,.15); }
.lc-method-card img { width: 80px; height: 80px; object-fit: contain; flex: 0 0 auto; }
.lc-method-card h2 { margin: 0 0 1px; color: #30379a; font-size: 18px; font-weight: 900; }
.lc-method-card p { margin: 0; color: #657091; font-size: 12px; }
.lc-method-card strong { display: block; margin-top: 2px; color: #425bc2; font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.lc-method-card:first-child strong { color: #19a957; }

.lc-surface { border: 1px solid var(--lc-border); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: var(--lc-shadow); }

/* Form layout */
.lc-contact-layout { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(280px, .83fr); gap: 15px; align-items: stretch; }
.lc-form-card { padding: 18px 24px 15px; }
.lc-card-title { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 11px; position: relative; }
.lc-card-title h2 { margin: 0; color: #4033a8; font-size: 30px; font-weight: 900; }
.lc-card-title > svg { width: 35px; height: 35px; color: #76a9ef; transform: rotate(-9deg); }
.lc-mini-stars { position: absolute; right: 18%; top: 4px; color: #ffd05a; font-size: 15px; letter-spacing: 6px; }
.lc-fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px 12px; }
.lc-field { display: block; min-width: 0; }
.lc-input-wrap { min-height: 50px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid #cad8ef; border-radius: 11px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.lc-input-wrap:focus-within { border-color: #7760db; box-shadow: 0 0 0 3px rgba(111,87,213,.10); }
.lc-input-wrap svg { width: 21px; height: 21px; color: #7d8cb5; flex: 0 0 auto; }
.lc-input-wrap input,
.lc-input-wrap select,
.lc-input-wrap textarea { width: 100%; min-width: 0; border: 0; outline: 0; color: #303b68; background: transparent; text-align: right; font-size: 13px; }
.lc-input-wrap input::placeholder,
.lc-input-wrap textarea::placeholder { color: #8490ad; opacity: 1; }
.lc-input-wrap select { appearance: none; cursor: pointer; }
.lc-select-wrap { position: relative; }
.lc-select-wrap::after { content: "⌄"; color: #5264a4; position: absolute; left: 14px; top: 50%; transform: translateY(-53%); font-size: 17px; pointer-events: none; }
.lc-textarea-wrap { min-height: 112px; align-items: flex-start; padding-top: 13px; }
.lc-textarea-wrap textarea { resize: vertical; min-height: 86px; line-height: 1.75; }
.lc-field-wide { grid-column: 1 / -1; }
.lc-field small { display: none; margin: 3px 5px 0; color: #d44b68; font-size: 11px; }
.lc-field.lc-invalid .lc-input-wrap { border-color: #e36d84; background: #fff9fb; }
.lc-field.lc-invalid small { display: block; }
.lc-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.lc-submit-button { width: 100%; min-height: 47px; margin-top: 12px; border: 0; border-radius: 11px; }
.lc-submit-button[disabled] { cursor: wait; opacity: .72; transform: none; }
.lc-privacy-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 9px 0 0; color: #7b86a6; font-size: 11px; }
.lc-privacy-note svg { width: 16px; height: 16px; color: #667adc; }

/* Side information */
.lc-contact-side { padding: 15px 17px; }
.lc-side-heading { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 7px; }
.lc-side-heading img { width: 43px; height: 43px; object-fit: contain; }
.lc-side-heading h2 { margin: 0; color: #37329d; font-size: 23px; font-weight: 900; }
.lc-side-heading-compact { justify-content: flex-start; padding-right: 5px; }
.lc-hours-row { min-height: 42px; margin: 7px 0; padding: 0 12px; display: grid; grid-template-columns: 1fr auto 25px; align-items: center; gap: 5px; border: 1px solid #d5e0f4; border-radius: 10px; background: #fbfdff; color: #3c4785; font-size: 12px; }
.lc-hours-row strong { color: #2e3987; font-size: 12px; }
.lc-hours-row em { color: #ffb92b; text-align: left; font-style: normal; font-size: 20px; }
.lc-hours-row.lc-closed em { color: #7964d9; }
.lc-side-divider { margin: 12px 0 9px; border-top: 1px dashed #d8e2f3; }
.lc-accordion { display: grid; gap: 6px; }
.lc-accordion-item { overflow: hidden; border: 1px solid #d7e1f3; border-radius: 9px; background: #fff; }
.lc-accordion-item button { width: 100%; min-height: 34px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 0; background: #fff; color: #485496; cursor: pointer; text-align: right; font-size: 11px; font-weight: 800; }
.lc-accordion-item button i { font-style: normal; font-size: 20px; transition: transform .22s ease; }
.lc-accordion-item button[aria-expanded="true"] i { transform: rotate(-90deg); }
.lc-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.lc-answer p { min-height: 0; overflow: hidden; margin: 0; padding: 0 12px; color: #6a7596; font-size: 10.5px; }
.lc-answer.lc-open { grid-template-rows: 1fr; }
.lc-answer.lc-open p { padding-bottom: 9px; }
.lc-reply-chip { min-height: 34px; margin: 10px 8px 0; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #dce4f5; border-radius: 999px; color: #4e559b; box-shadow: 0 5px 12px rgba(65,80,138,.06); font-size: 11px; font-weight: 800; }
.lc-reply-chip svg { width: 16px; height: 16px; }

/* Location */
.lc-location-card { min-height: 155px; margin-top: 18px; padding: 14px; display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 18px; align-items: center; }
.lc-location-copy { padding: 0 8px; text-align: right; }
.lc-location-title { display: flex; align-items: flex-start; gap: 8px; }
.lc-location-title img { width: 51px; height: 51px; object-fit: contain; margin-top: -4px; }
.lc-location-title h2 { margin: 0 0 3px; color: #2c318e; font-size: 22px; font-weight: 900; }
.lc-location-title p { margin: 0 0 10px; color: #505b82; font-size: 12px; line-height: 1.75; }
.lc-location-copy .lc-button { margin-right: 56px; }
.lc-map-wrap { height: 125px; overflow: hidden; border: 1px solid #d9e5f4; border-radius: 16px; background: #eef5ff; }
.lc-map-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Support cards */
.lc-support-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.lc-support-card { min-height: 125px; padding: 13px 15px; display: flex; align-items: center; gap: 10px; }
.lc-support-card img { width: 75px; height: 75px; object-fit: contain; flex: 0 0 auto; }
.lc-support-card h2 { margin: 0 0 3px; color: #27318b; font-size: 18px; font-weight: 900; }
.lc-support-card p { margin: 0; color: #687396; font-size: 11px; line-height: 1.6; }
.lc-support-card a { display: inline-flex; margin-top: 5px; color: #4a36b4; font-size: 11px; font-weight: 900; }
.lc-support-card a::after { content: " ‹"; font-size: 17px; line-height: 1; }

/* Final CTA */
.lc-chat-cta { min-height: 120px; margin-top: 17px; padding: 8px 18px; display: grid; grid-template-columns: 260px minmax(0,1fr) 215px; align-items: center; gap: 17px; overflow: hidden; direction: ltr; }
.lc-cta-art { align-self: end; height: 112px; display: flex; align-items: flex-end; justify-content: center; }
.lc-cta-art img { width: 255px; max-height: 142px; object-fit: contain; object-position: center bottom; }
.lc-cta-copy { direction: rtl; text-align: center; }
.lc-cta-copy h2 { margin: 0 0 2px; color: #4b35b6; font-size: 27px; font-weight: 900; }
.lc-cta-copy h2 span { color: #ef8cc0; font-size: 19px; }
.lc-cta-copy p { margin: 0; color: #657096; font-size: 12px; line-height: 1.75; }
.lc-chat-button { direction: rtl; min-height: 52px; white-space: nowrap; border-radius: 15px; }

/* Toast */
.lc-toast { position: fixed; z-index: 9999; left: 22px; bottom: 22px; min-width: 320px; max-width: min(420px, calc(100vw - 30px)); padding: 14px 18px; display: flex; flex-direction: column; border-right: 5px solid #58bd78; border-radius: 16px; background: #fff; box-shadow: 0 18px 55px rgba(35,42,101,.28); opacity: 0; transform: translateY(140%); pointer-events: none; transition: transform .35s ease, opacity .35s ease; }
.lc-toast.lc-show { opacity: 1; transform: none; }
.lc-toast.lc-error { border-right-color: #df6078; }
.lc-toast strong { color: #293377; font-size: 14px; }
.lc-toast span { color: #6d789a; font-size: 12px; }

.lc-reveal { opacity: 0; transform: translateY(14px); transition: opacity .62s ease, transform .62s ease; }
.lc-reveal.lc-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .lc-contact-methods { grid-template-columns: repeat(2, 1fr); }
  .lc-method-card { justify-content: center; }
  .lc-contact-layout { grid-template-columns: minmax(0,1.55fr) minmax(265px,.9fr); }
  .lc-chat-cta { grid-template-columns: 220px minmax(0,1fr) 190px; }
}

@media (max-width: 780px) {
  .lc-wrap { width: min(calc(100% - 28px), var(--lc-wrap)); }
  .lc-hero { min-height: 600px; padding-top: 38px; }
  .lc-hero-grid { grid-template-columns: 1fr; gap: 5px; text-align: center; }
  .lc-hero-copy { grid-row: 1; padding: 0; text-align: center; }
  .lc-hero-copy p { font-size: 16px; }
  .lc-hero-actions { justify-content: center; }
  .lc-hero-art { grid-row: 2; height: 330px; }
  .lc-hero-art img { width: min(600px, 112vw); }
  .lc-contact-layout { grid-template-columns: 1fr; }
  .lc-contact-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .lc-side-divider { display: none; }
  .lc-location-card { grid-template-columns: 1fr; }
  .lc-location-copy { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
  .lc-location-copy .lc-button { margin-right: 0; }
  .lc-map-wrap { grid-row: 1; height: 180px; }
  .lc-support-grid { grid-template-columns: 1fr; }
  .lc-chat-cta { grid-template-columns: 190px minmax(0,1fr); }
  .lc-chat-button { grid-column: 1/-1; justify-self: center; }
}

@media (max-width: 540px) {
  .lughty-contact-page { padding-bottom: 28px; }
  .lc-hero { min-height: 590px; padding-top: 27px; }
  .lc-hero-copy h1 { font-size: 46px; }
  .lc-hero-copy p { font-size: 14px; }
  .lc-hero-actions { flex-direction: column; width: 100%; }
  .lc-hero-actions .lc-button { width: 100%; }
  .lc-hero-art { height: 300px; }
  .lc-hero-art img { width: 116vw; max-width: 610px; }
  .lc-contact-methods { grid-template-columns: 1fr; }
  .lc-method-card { justify-content: flex-start; }
  .lc-form-card { padding: 17px 14px 14px; }
  .lc-card-title h2 { font-size: 25px; }
  .lc-fields-grid { grid-template-columns: 1fr; }
  .lc-field-wide { grid-column: auto; }
  .lc-contact-side { grid-template-columns: 1fr; }
  .lc-location-copy { display: block; }
  .lc-location-copy .lc-button { margin: 8px 56px 0 0; }
  .lc-support-card { padding-inline: 16px; }
  .lc-chat-cta { grid-template-columns: 1fr; padding: 0 15px 16px; text-align: center; }
  .lc-cta-art { height: 118px; }
  .lc-cta-art img { width: 235px; }
  .lc-cta-copy h2 { font-size: 23px; }
  .lc-chat-button { grid-column: auto; width: 100%; }
  .lc-toast { right: 14px; left: 14px; bottom: 14px; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lc-reveal { opacity: 1; transform: none; transition: none; }
  .lc-button { transition: none; }
}
