/* MaidHire Pro — public + user shared base */
*,*::before,*::after{box-sizing:border-box}
html{font-size:16px;scroll-behavior:smooth}
body.ma-public{margin:0;font-family:"DM Sans",system-ui,sans-serif;background:#f1f5f9;color:#0f172a;line-height:1.6}
.wrap{max-width:1120px;margin-left:auto;margin-right:auto;padding-left:1.25rem;padding-right:1.25rem}
.muted{color:#64748b;font-size:.95rem}
.ph-skip{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.ph-skip:focus{position:fixed;left:1rem;top:1rem;width:auto;height:auto;padding:.6rem 1rem;background:#0f172a;color:#fff;z-index:10000;border-radius:.4rem;text-decoration:none;font-weight:600}
.ph-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid #e2e8f0;box-shadow:0 1px 0 rgba(15,23,42,.04)}
.ph-inner{display:flex;align-items:center;justify-content:space-between;max-width:1120px;margin:0 auto;padding:.75rem 1.25rem;gap:.75rem;flex-wrap:wrap}
.ph-logo{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;font-size:1.1rem;color:#0f766e;text-decoration:none;letter-spacing:-.02em}
.ph-logo-mark{width:2rem;height:2rem;border-radius:.5rem;background:linear-gradient(135deg,#14b8a6,#0f766e);flex-shrink:0;box-shadow:0 2px 8px rgba(15,118,110,.35)}
.ph-menu-btn{display:none;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;padding:0;border:1px solid #cbd5e1;border-radius:.5rem;background:#fff;cursor:pointer;color:#0f172a;transition:background .15s,border-color .15s}
.ph-menu-btn:hover{background:#f8fafc}
.ph-menu-btn:focus-visible{outline:2px solid #0d9488;outline-offset:2px}
.ph-menu-icon{display:block;width:1.1rem;height:1.1rem;background:linear-gradient(#0f172a,#0f172a) 0 15%/100% 2px no-repeat,linear-gradient(#0f172a,#0f172a) 0 50%/100% 2px no-repeat,linear-gradient(#0f172a,#0f172a) 0 85%/100% 2px no-repeat}
.ph-nav-collapse{display:flex;flex:1;align-items:center;justify-content:space-between;gap:1rem;min-width:0}
.ph-nav{display:flex;gap:1.1rem;flex-wrap:wrap;align-items:center}
.ph-nav a{color:#334155;text-decoration:none;font-size:.92rem;font-weight:500;padding:.25rem 0;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
.ph-nav a:hover{color:#0d9488}
.ph-nav a[aria-current="page"]{color:#0f766e;border-bottom-color:#14b8a6;font-weight:600}
.ph-actions{display:flex;gap:.5rem;align-items:center;flex-shrink:0}
@media (max-width:768px){
  .ph-menu-btn{display:inline-flex;margin-left:auto}
  .ph-inner{align-items:flex-start}
  .ph-nav-collapse{display:none;flex-direction:column;align-items:stretch;width:100%;order:3;padding:.5rem 0 0;border-top:1px solid #e2e8f0;margin-top:.5rem}
  .ph-header--open .ph-nav-collapse{display:flex}
  .ph-nav{flex-direction:column;align-items:flex-start;gap:0}
  .ph-nav a{width:100%;padding:.55rem 0;border-bottom-width:0}
  .ph-actions{flex-direction:column;width:100%}
  .ph-actions .btn{width:100%;justify-content:center}
}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:.55rem 1.1rem;border-radius:.5rem;font-weight:600;font-size:.9rem;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:background .15s,color .15s}
.btn-primary{background:linear-gradient(135deg,#0d9488,#0f766e);color:#fff}
.btn-primary:hover{filter:brightness(1.05)}
.btn-ghost{background:transparent;border-color:#cbd5e1;color:#0f172a}
.btn-ghost:hover{background:#f8fafc}
.btn-danger{background:#b91c1c;color:#fff}
.btn-sm{padding:.35rem .75rem;font-size:.85rem}
.ph-main{min-height:60vh;outline:none}
.ph-footer{background:#0f172a;color:#e2e8f0;padding:3rem 0 1.5rem;margin-top:3rem}
.ph-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem}
@media(max-width:768px){.ph-footer-grid{grid-template-columns:1fr}}
.ph-footer a{display:block;color:#94a3b8;text-decoration:none;margin-top:.4rem}
.ph-footer a:hover{color:#5eead4}
.ph-footer h4{margin:0 0 .5rem;font-size:.85rem;letter-spacing:.05em;text-transform:uppercase;color:#64748b}
.ph-footer-bottom{border-top:1px solid #1e293b;margin-top:2rem;padding-top:1rem;font-size:.85rem;color:#64748b;text-align:center}

/* Hero & sections */
.hero{position:relative;overflow:hidden;background:linear-gradient(145deg,#042f2e 0%,#0f172a 45%,#134e4a 100%);color:#ecfdf5;padding:4.5rem 0 4rem}
.hero::after{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");opacity:1;pointer-events:none}
.hero .wrap{position:relative;z-index:1}
.hero h1{margin:0 0 1rem;font-size:clamp(1.9rem,4vw,2.8rem);line-height:1.15;letter-spacing:-.03em;max-width:20ch}
.hero p.lead{max-width:40ch;font-size:1.1rem;opacity:.92;margin-bottom:1.75rem}
.hero-btns{display:flex;gap:.75rem;flex-wrap:wrap}
.hero .stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2.5rem;max-width:52rem}
@media(max-width:640px){.hero .stat-row{grid-template-columns:1fr}}
.stat-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:.75rem;padding:1rem 1.1rem}
.stat-card b{display:block;font-size:1.35rem;color:#5eead4}
.stat-card span{font-size:.85rem;opacity:.85}

.grid-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
@media(max-width:900px){.grid-cards{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.grid-cards{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:box-shadow .2s,border-color .2s,transform .2s}
.card:hover{box-shadow:0 8px 30px rgba(15,23,42,.08);border-color:#cbd5e1}
.card:hover .maid-avatar{transform:scale(1.02)}
.card .maid-avatar{transition:transform .35s ease}
.card-media{position:relative;overflow:hidden}
.card-body{padding:1.1rem}
.card h3{margin:0 0 .35rem;font-size:1.05rem}
.section{padding:3.5rem 0}
.section h2{margin:0 0 .5rem;font-size:1.5rem;letter-spacing:-.02em}
.sub{margin-top:0;color:#64748b;max-width:50ch}
.feature-icon{width:2.5rem;height:2.5rem;border-radius:.6rem;background:linear-gradient(135deg,#ccfbf1,#99f6e4);color:#0f766e;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1rem;margin-bottom:.75rem;box-shadow:0 1px 2px rgba(15,23,42,.06)}
.feature-icon--check::after{content:"\2713"}
.feature-icon--book::after{content:"\2261";font-size:1.1rem;letter-spacing:0.05em}
.feature-icon--msg::after{content:"\2609";font-size:1.15rem}

/* User area */
.ua-body{background:#f1f5f9}
.ua-top{background:#0f172a;color:#e2e8f0;padding:1rem 0}
.ua-top-inner{max-width:1120px;margin:0 auto;padding:0 1.25rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.ua-top a{color:#94a3b8;text-decoration:none}
.ua-top a:hover{color:#5eead4}
.ua-wrap{max-width:1120px;margin:0 auto;padding:2rem 1.25rem;display:grid;grid-template-columns:240px 1fr;gap:1.5rem}
@media(max-width:900px){.ua-wrap{grid-template-columns:1fr}}
.ua-side{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1rem}
.ua-side a{display:block;padding:.5rem .65rem;border-radius:.5rem;color:#334155;text-decoration:none;font-size:.9rem}
.ua-side a:hover{background:#f1f5f9}
.ua-side a.is-active{background:#ecfeff;color:#0f766e;font-weight:600}
.ua-content{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.5rem;min-height:50vh}
.page-title{margin:0 0 1.25rem;font-size:1.35rem;letter-spacing:-.02em}

/* Forms & tables */
.form-grid{display:grid;gap:1rem}
.f-row label{display:block;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin-bottom:.3rem}
.f-row input,.f-row select,.f-row textarea{width:100%;padding:.55rem .65rem;border:1px solid #cbd5e1;border-radius:.45rem;font:inherit}
.f-row textarea{min-height:100px;resize:vertical}
table.data{width:100%;border-collapse:collapse;font-size:.9rem}
table.data th,table.data td{padding:.65rem .5rem;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}
table.data th{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
.badge{display:inline-block;padding:.15rem .5rem;border-radius:9999px;font-size:.75rem;font-weight:600}
.badge-pending{background:#fef3c7;color:#92400e}
.badge-approved{background:#d1fae5;color:#047857}
.badge-rejected{background:#fee2e2;color:#b91c1c}
.badge-completed{background:#e0e7ff;color:#3730a3}
.badge-cancelled{background:#f1f5f9;color:#475569}
.alert{margin:0 0 1rem;padding:.9rem 1rem;border-radius:.5rem}
.alert-error{background:#fee2e2;border:1px solid #fecaca;color:#7f1d1d}
.alert-success{background:#d1fae5;border:1px solid #a7f3d0;color:#14532d}
.alert-info{background:#e0f2fe;border:1px solid #bae6fd;color:#0c4a6e}
.alert.wrap{max-width:1120px;margin-left:auto;margin-right:auto}
.maid-avatar{display:block;width:100%;height:180px;object-fit:cover;background:#e2e8f0}
.maid-avatar-sm{width:48px;height:48px;border-radius:9999px;object-fit:cover}
.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;margin-bottom:1rem;align-items:end}
.filters .f-row label{font-size:.75rem}
.pagination{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}

/* —— Guest / marketing polish —— */
.btn:focus-visible{outline:2px solid #0d9488;outline-offset:2px}
a:focus-visible{outline:2px solid #0d9488;outline-offset:2px}
.f-row input:focus-visible,.f-row select:focus-visible,.f-row textarea:focus-visible{outline:2px solid #0d9488;outline-offset:1px;border-color:#5eead4}
.pub-section{padding:3rem 0}
.pub-section--tight{padding-top:2.25rem}
.pub-section--alt{background:#fff;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}
.pub-page-head{margin-bottom:1.75rem}
.pub-kicker{font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#0d9488;margin:0 0 .4rem}
.pub-h1{margin:0 0 .5rem;font-size:clamp(1.65rem,3.2vw,2rem);font-weight:700;letter-spacing:-.03em;line-height:1.2;color:#0f172a}
.pub-lead{margin:0;color:#64748b;max-width:52ch;font-size:1.02rem;line-height:1.55}
.pub-breadcrumb{font-size:.88rem;color:#64748b;margin:0 0 .75rem}
.pub-breadcrumb a{color:#0f766e;text-decoration:none;font-weight:500}
.pub-breadcrumb a:hover{text-decoration:underline}
.pub-breadcrumb em{font-style:normal;opacity:.45;padding:0 .35rem}
.pub-prose,.cms-page{font-size:1.02rem;line-height:1.65;color:#334155;max-width:68ch}
.pub-prose > *:first-child,.cms-page > *:first-child{margin-top:0}
.pub-prose h1,.cms-page h1{font-size:1.75rem;margin:1.5rem 0 .75rem;letter-spacing:-.02em;color:#0f172a}
.pub-prose h2,.cms-page h2{font-size:1.35rem;margin:1.75rem 0 .5rem;letter-spacing:-.02em;color:#0f172a}
.pub-prose h3,.cms-page h3{font-size:1.1rem;margin:1.25rem 0 .4rem;color:#0f172a}
.pub-prose p,.cms-page p{margin:0 0 1rem}
.pub-prose ul,.pub-prose ol,.cms-page ul,.cms-page ol{margin:0 0 1rem;padding-left:1.35rem}
.pub-prose li,.cms-page li{margin-bottom:.35rem}
.pub-prose a,.cms-page a{color:#0f766e;font-weight:500}
.pub-prose a:hover,.cms-page a:hover{text-decoration:underline}
.pub-auth{max-width:440px;margin:0 auto;padding:0 1.25rem}
.pub-auth--wide{max-width:520px}
.pub-auth-card{background:#fff;border:1px solid #e2e8f0;border-radius:.85rem;padding:1.75rem 1.5rem 1.5rem;box-shadow:0 4px 24px rgba(15,23,42,.06)}
.pub-auth-card .page-title{margin-top:0}
.pub-auth-foot{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid #e2e8f0;font-size:.92rem;text-align:center}
.pub-auth-foot a{color:#0f766e;font-weight:600;text-decoration:none}
.pub-auth-foot a:hover{text-decoration:underline}
.pub-filters-card{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem 1.25rem 1.1rem;margin-bottom:1.75rem;box-shadow:0 1px 3px rgba(15,23,42,.04)}
.pub-filters-card .filters{margin-bottom:0}
.pub-result-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem}
.pub-result-count{font-size:.9rem;color:#64748b}
.pub-result-count strong{color:#0f172a}
.pub-empty{text-align:center;padding:2.5rem 1.5rem;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:.75rem;color:#64748b}
.pub-empty-title{margin:0 0 .35rem;font-size:1.1rem;font-weight:600;color:#334155}
.maid-card-badge{position:absolute;top:.65rem;right:.65rem;z-index:1;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.card--maid{position:relative;overflow:hidden}
.pub-spec-table{width:100%;max-width:520px;border-collapse:collapse;font-size:.92rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.65rem;overflow:hidden}
.pub-spec-table th,.pub-spec-table td{padding:.65rem .85rem;text-align:left;border-bottom:1px solid #e2e8f0;vertical-align:top}
.pub-spec-table tr:last-child th,.pub-spec-table tr:last-child td{border-bottom:0}
.pub-spec-table th{width:38%;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:600;background:#f1f5f9}
.pub-profile-layout{display:grid;grid-template-columns:minmax(260px,380px) 1fr;gap:2rem;align-items:start}
@media(max-width:900px){.pub-profile-layout{grid-template-columns:1fr}}
.pub-profile-photo{border-radius:.85rem;overflow:hidden;border:1px solid #e2e8f0;box-shadow:0 4px 20px rgba(15,23,42,.08)}
.pub-profile-photo .maid-avatar{height:auto;min-height:280px;max-height:420px}
.pub-reviews{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;overflow:hidden;margin-top:1.5rem}
.pub-reviews table.data{margin:0;font-size:.9rem}
.pub-reviews table.data th{background:#f8fafc}
.pub-stars{color:#ca8a04;font-weight:600;letter-spacing:.05em}
.contact-grid{display:grid;grid-template-columns:1fr minmax(280px,440px);gap:2.5rem;align-items:start}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr}}
.contact-aside .pub-prose{margin-bottom:1.5rem}
.svc-cat-grid{margin-top:1.25rem}
.svc-cat-card .card-body{display:flex;flex-direction:column;align-items:flex-start;min-height:5.5rem;justify-content:space-between}

/* Print */
@media print {
  .ph-header, .ph-footer, .no-print, .ua-side, .ua-top, .ad-sidebar, .ad-top { display: none !important; }
  body { background: #fff; }
  .ua-wrap, .ad-shell { display: block !important; }
  .ad-main, .ua-content { border: 0; box-shadow: none; }
}
