/*
Theme Name: ExpertosPlaya
Theme URI: https://expertosplaya.mx
Author: ExpertosPlaya
Author URI: https://expertosplaya.mx
Description: Tema ligero para directorio de expertos (oficios) en Playa del Carmen. Incluye CPT "experto", taxonomías, plantillas y ACF JSON.
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: expertosplaya
Tags: custom-post-type, directory, listings
*/

:root{
  --ep-navy:#0f2740;
  --ep-teal:#1f9d8a;
  --ep-green:#38b26f;
  --ep-bg:#f7fafc;
  --ep-text:#102a43;
  --ep-muted:#627d98;
  --ep-border:#d9e2ec;
  --ep-card:#ffffff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ep-text);
  background:var(--ep-bg);
  line-height:1.5;
}
a{color:inherit}
img{max-width:100%;height:auto}
.container{width:min(1100px, 92%); margin-inline:auto}
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--ep-border);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand img{width:44px; height:44px}
.brand .name{font-weight:800; letter-spacing:-.02em; font-size:20px}
.brand .name span{color:var(--ep-teal)}
.nav a{display:inline-block; padding:10px 12px; text-decoration:none; color:var(--ep-muted); font-weight:600}
.nav a:hover{color:var(--ep-text)}
.button{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:12px;
  background:var(--ep-teal); color:#fff; text-decoration:none;
  font-weight:800; border:1px solid rgba(0,0,0,.04);
  box-shadow: 0 10px 18px rgba(16,42,67,.12);
}
.button:hover{filter:brightness(.98)}
.button.secondary{background:#fff;color:var(--ep-text); border:1px solid var(--ep-border); box-shadow:none}
.hero{padding:56px 0 28px}
.hero h1{font-size:42px; line-height:1.1; letter-spacing:-.03em; margin:0 0 10px}
.hero p{color:var(--ep-muted); margin:0 0 22px; font-size:18px}
.hero-card{
  background:var(--ep-card);
  border:1px solid var(--ep-border);
  border-radius:18px;
  padding:18px;
  box-shadow: 0 12px 24px rgba(16,42,67,.08);
}
.grid{display:grid; gap:16px}
.grid.cols-3{grid-template-columns: repeat(3, minmax(0, 1fr));}
.grid.cols-2{grid-template-columns: repeat(2, minmax(0, 1fr));}
@media (max-width: 860px){
  .grid.cols-3{grid-template-columns:1fr}
  .grid.cols-2{grid-template-columns:1fr}
  .hero h1{font-size:34px}
  .nav{display:none}
}
.form-row{display:grid; gap:12px; grid-template-columns: 1fr 1fr auto; align-items:end}
@media (max-width: 860px){
  .form-row{grid-template-columns: 1fr}
}
label{font-weight:700; font-size:13px; color:var(--ep-muted)}
select,input{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--ep-border);
  background:#fff;
  outline:none;
}
input[type="checkbox"] {
  width: auto !important;
}
select:focus,input:focus{border-color:rgba(31,157,138,.65); box-shadow:0 0 0 4px rgba(31,157,138,.12)}
.card{
  background:var(--ep-card);
  border:1px solid var(--ep-border);
  border-radius:18px;
  padding:16px;
  box-shadow: 0 10px 18px rgba(16,42,67,.06);
}
.card .top{display:flex; gap:14px; align-items:center}
.avatar{width:64px; height:64px; border-radius:16px; overflow:hidden; border:1px solid var(--ep-border); background:#eef2f7}
.badges{display:flex; gap:8px; flex-wrap:wrap; margin-top:8px}
.badge{
  display:inline-flex; align-items:center;
  padding:6px 10px; border-radius:999px;
  background:#eef8f6; color:#0a2f28; font-weight:800; font-size:12px;
  border:1px solid rgba(31,157,138,.18)
}
.badge.gray{background:#f0f4f8; color:#243b53; border-color:rgba(0,0,0,.05)}
.card h3{margin:0; font-size:18px}
.muted{color:var(--ep-muted)}
.card-actions{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap}
.site-footer{padding:28px 0; color:var(--ep-muted); border-top:1px solid var(--ep-border); margin-top:40px}
.kicker{font-weight:900; color:var(--ep-teal); letter-spacing:.08em; text-transform:uppercase; font-size:12px}
.section{padding:18px 0}
.page-title{margin:0 0 12px; font-size:30px; letter-spacing:-.02em}
.notice{
  padding:12px 14px; border-radius:14px;
  border:1px solid rgba(56,178,111,.25);
  background:rgba(56,178,111,.08);
}
