@font-face {
  font-family: "ProAider Inter";
  src: url("./fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 850;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family: "ProAider Inter", Inter, system-ui, sans-serif;
  color: #1c352f;
  background: #f7f9f5;
  --ink: #1c352f;
  --dark: #153d33;
  --green: #245d4b;
  --lime: #daf5a0;
  --mint: #eaf3e6;
  --line: #dce6dd;
  --muted: #536a61;
  --paper: #fff;
}
body { font-size: 1rem; }
.shell, .topbar, .footer { max-width: 1280px; padding-inline: clamp(16px, 4vw, 48px); }
.shell { padding-top: 18px; }
.topbar { min-height: 76px; }
.brand { font-weight: 760; letter-spacing: -.045em; }
.brand small { letter-spacing: .055em; }
.market-topbar nav { color: var(--ink); }
.market-topbar .nav-account { padding: 9px 16px; background: var(--dark); color: #fff; border: 0; }
.account-menu summary { list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary::after { content: "⌄"; margin-left: 7px; }
h1, h2, h3 { color: var(--ink); font-weight: 720; letter-spacing: -.035em; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.95rem); }
h3 { font-size: 1.12rem; }
.pagehead { margin-bottom: 8px; }
.detail-title { font-size: clamp(1.9rem, 4vw, 3.05rem); }
.hero, .provider-hero, .offer-hero { isolation: isolate; background: var(--dark); }
.hero { grid-template-columns: 1.08fr .92fr; border-radius: 24px; }
.hero h1, .provider-hero h1, .offer-hero h1 { color: #fff; letter-spacing: -.047em; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.55rem); }
.hero-copy { padding: clamp(24px, 5vw, 64px); }
.hero-media { min-height: 390px; }
.hero-media img { object-position: center; }
.market-choice { gap: 16px; border-radius: 16px; }
.market-choice h2 { font-size: 1.12rem; }
.card, .gig-card { border-radius: 16px; box-shadow: 0 2px 8px #17382e08; }
.gig-body h3 { line-height: 1.3; }
.gig-image .pill { font-weight: 630; }
.btn { border-radius: 10px; font-weight: 660; text-align: center; }
.btn.link:hover { text-decoration: underline; background: none; }
input, select, textarea { border-color: #ccd9d0; border-radius: 10px; }
input::placeholder, textarea::placeholder { color: #5d7168; }
textarea { resize: vertical; }
.back-link { display: inline-flex; margin-bottom: 14px; text-decoration: none; font-size: .9rem; font-weight: 650; }
.service-layout { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(22px, 4vw, 50px); }
.service-layout article > .row { margin-top: -4px; }
.listing-provider a { font-weight: 650; text-decoration: none; }
.listing-provider img, .offer-identity p img { border-radius: 50%; object-fit: contain; background: #fff; }
.gallery { border-radius: 16px; max-height: 450px; }
.booking-surface { border-color: #cedfd3; padding: clamp(18px, 3.4vw, 30px); box-shadow: 0 10px 30px #204d3512; min-width: 0; }
.booking-surface .form, .job-form { gap: 14px; }
.booking-surface .price { color: var(--green); }
.provider-hero { overflow: hidden; position: relative; border-radius: 22px; color: #eef8ec; }
.provider-hero::after, .offer-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 88% 10%, #89b78f60, transparent 50%);
}
.provider-cover { z-index: -2; position: absolute; width: 100%; height: 100%; object-fit: cover; }
.provider-cover + .provider-identity { background: linear-gradient(90deg, #153d33f7 15%, #153d33c7 64%, #153d3370); }
.provider-identity { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: clamp(22px, 4.6vw, 52px); }
.provider-identity h1 { font-size: clamp(1.65rem, 3.5vw, 3.15rem); max-width: 26ch; overflow-wrap: anywhere; }
.provider-identity p { color: #e3f3e5; margin-top: 6px; }
.provider-avatar { border-radius: 50%; background: white; border: 3px solid #fff; object-fit: contain; flex: none; }
.provider-verification { display: block; color: var(--lime); font-weight: 650; font-size: .83rem; margin-bottom: 8px; }
.provider-actions { margin-left: auto; }
.profile-layout, .offer-layout { display: grid; align-items: start; gap: clamp(20px, 4vw, 48px); margin-top: clamp(20px, 4vw, 42px); }
.profile-layout { grid-template-columns: minmax(0, 1fr) minmax(225px, 310px); }
.profile-layout .provider-gigs { grid-template-columns: repeat(3,minmax(0,1fr)); }
.profile-aside .card h2 { font-size: 1.18rem; }
.profile-aside p { overflow-wrap: anywhere; }
.profile-aside .ui-icon, .job-form .ui-icon { width: 18px; height: 18px; display: inline-block; vertical-align: -.15em; color: var(--green); }
.certificate-row { display: flex; gap: 9px; align-items: start; }
.certificate-row > span { color: var(--green); background: var(--mint); padding: 2px 6px; border-radius: 50%; }
.offer-layout { grid-template-columns: minmax(0,1.24fr) minmax(330px,1fr); max-width: 1100px; margin: 8px auto 0; }
.offer-summary { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 32px #17382e10; }
.offer-hero { position: relative; display: flex; min-height: 210px; align-items: end; color: #fff; }
.offer-hero.has-photo { min-height: clamp(240px, 33vw, 395px); }
.offer-hero.has-photo::after { background: linear-gradient(0deg, #0b271ff5 0%, #0b271f8a 43%, transparent 100%); }
.offer-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.offer-identity { display: grid; gap: 10px; width: 100%; padding: clamp(20px, 4vw, 38px); }
.offer-label { width: fit-content; background: #deefc5; color: #234c3d; border-radius: 999px; font-size: .78rem; font-weight: 700; padding: 4px 10px; }
.offer-identity h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.07; overflow-wrap: anywhere; }
.offer-identity p { display: flex; gap: 9px; align-items: center; color: #eff9ef; overflow-wrap: anywhere; }
.offer-info { display: grid; gap: 12px; padding: clamp(18px, 3.5vw, 30px); }
.offer-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 8px; }
.offer-facts div { display: grid; gap: 4px; border-radius: 10px; padding: 10px 12px; background: var(--mint); }
.offer-facts small { color: var(--muted); }
.offer-facts strong { color: var(--dark); overflow-wrap: anywhere; }
.offer-expiry { color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; font-size: .87rem; }
.offer-info .preserve { overflow-wrap: anywhere; }
.auth-card { margin-top: 18px; max-width: 520px; }
.field-caption { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-weight: 650; }
.field-help { position: relative; }
.field-help summary { list-style: none; border-radius: 50%; border: 1px solid var(--line); width: 25px; height: 25px; display: grid; place-items: center; color: var(--green); font-size: .84rem; }
.field-help summary::-webkit-details-marker { display: none; }
.field-help > p { position: absolute; z-index: 2; right: 0; top: 32px; padding: 10px 12px; background: var(--dark); color: #fff; width: min(245px, 75vw); border-radius: 9px; font-size: .83rem; font-weight: 500; box-shadow: 0 4px 20px #143b3250; }
.field-help:not([open]):is(:hover,:focus-within) > p { display: block; }
.job-form .location-input { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 8px; }
.job-form input[type=file] { padding: 9px; }
.workspace-link-photo { width: 110px; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
@media (max-width: 940px) {
  .profile-layout .provider-gigs { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .hero, .service-layout, .offer-layout, .profile-layout { grid-template-columns: 1fr; }
  .hero-media { min-height: 180px; }
  .hero-media .hero-photo { height: 100%; }
  .booking-surface { position: static; }
  .provider-actions { margin-left: 0; }
  .shell { padding-top: 12px; }
  .provider-avatar { width: 52px; height: 52px; }
  .market-topbar nav { gap: 8px 12px; }
}
@media (max-width: 360px) {
  .job-form .location-input { grid-template-columns: 1fr; }
  .profile-layout .provider-gigs { grid-template-columns: 1fr; }
}

.offer-time-list { max-height: 290px; overflow: auto; }

.schedule-range { align-items: end; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; }
.workspace-day > .row { margin-top: 10px; }
@media (max-width: 440px) { .schedule-range { grid-template-columns: 1fr 1fr; } .schedule-range button { justify-self: start; } }

.market-topbar nav #services-link { display: inline-flex; }

.support-reply p { overflow-wrap: anywhere; }
.support-ticket-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; }
.support-ticket-link small { display: block; }
