.sgc-shell{max-width:1140px;margin:30px auto 70px;padding:0 20px;color:#152b4a}.sgc-shell *{box-sizing:border-box}.sgc-hero{padding:35px 40px;border-radius:18px;background:linear-gradient(115deg,#0b3674,#116de3);color:white;margin-bottom:24px}.sgc-hero h1{color:white;font-size:clamp(28px,4vw,42px);margin:7px 0}.sgc-hero p{margin:0;color:#e3f1ff}.sgc-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#b8e7ff;font-weight:800}.sgc-auth{display:grid;grid-template-columns:1fr 1fr;gap:22px}.sgc-panel{border:1px solid #e0e8f2;border-radius:15px;padding:26px;background:white;box-shadow:0 8px 24px #0e32600b;margin-bottom:20px}.sgc-panel h2{font-size:22px;margin:0 0 18px;color:#14335d}.sgc-panel h3{font-size:17px}.sgc-panel form label{display:block;font-weight:650;font-size:14px;margin-bottom:15px}.sgc-panel input:not([type=checkbox]){display:block;width:100%;padding:12px;border:1px solid #cbd7e5;border-radius:9px;margin-top:6px;font-size:15px;max-width:none}.sgc-panel button,.sgc-panel input[type=submit]{display:inline-block;background:#1166d7;color:white;border:0;border-radius:9px;padding:12px 22px;cursor:pointer;font-weight:750}.sgc-panel .sgc-secondary{background:#e6f0ff;color:#1455a5}.sgc-small{font-size:13px;color:#52687d}.sgc-notice{border-left:4px solid #0f70d7;background:#eaf5ff;padding:14px 18px;margin:15px 0;border-radius:6px}.sgc-dashboard{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px}.sgc-side{align-self:start;display:flex;flex-direction:column;gap:4px;background:#f2f7fd;border:1px solid #dce8f4;padding:19px;border-radius:14px}.sgc-side strong{margin:0 0 13px}.sgc-side a{padding:10px 12px;border-radius:8px;color:#174b88;text-decoration:none}.sgc-side a:hover{background:#e0edfc}.sgc-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.sgc-tiles>div{padding:18px;background:#f5f9fe;border-radius:10px;border:1px solid #e0eaf6}.sgc-tiles strong,.sgc-tiles small{display:block}.sgc-tiles small{color:#6b7d92;margin-top:5px}@media(max-width:760px){.sgc-auth,.sgc-dashboard{grid-template-columns:1fr}.sgc-hero{padding:26px}.sgc-tiles{grid-template-columns:1fr}}

.sgc-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* Refinamiento visual y acciones públicas */
.sgc-shell{max-width:1120px}.sgc-hero{background:linear-gradient(120deg,#092b64 0%,#1554ba 65%,#0ba9a5 150%);padding:43px 48px;border-radius:22px;box-shadow:0 18px 45px rgba(13,58,129,.12)}.sgc-hero h1{font-size:clamp(32px,4vw,48px);letter-spacing:-.035em}.sgc-panel{border-radius:18px;box-shadow:0 12px 35px rgba(22,53,101,.055)}.sgc-side{background:#f6f9ff;border-radius:18px}.sgc-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.sgc-tiles>div{min-width:0}.sgc-tiles a{color:#0f5dd7;text-decoration:none;font-weight:700}.sgc-quicklinks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sgc-quicklinks a{padding:15px;border:1px solid #dce9f8;border-radius:12px;background:#f6faff;color:#0f54ac;font-weight:700;text-decoration:none}.sgc-button{display:inline-block;padding:13px 23px;border-radius:11px;background:#1764eb;color:#fff!important;text-decoration:none;font-weight:800}.sgc-agency-form form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.sgc-agency-form label:has(textarea),.sgc-agency-form label:has([type=file]),.sgc-agency-form button{grid-column:1/-1}.sgc-agency-form textarea{width:100%;display:block;margin-top:7px;border:1px solid #cbd7e5;border-radius:10px;padding:12px;font:inherit}.sgc-directory-action{max-width:1110px;margin:20px auto 22px;display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:0 4px}.sgc-directory-action a{display:inline-block;padding:13px 21px;border-radius:12px;background:linear-gradient(105deg,#1460e9,#0d8bc2);color:white!important;font-weight:800;text-decoration:none;box-shadow:0 7px 16px rgba(15,95,211,.16)}.sgc-directory-action span{color:#60718a;font-size:13px}@media(max-width:760px){.sgc-tiles,.sgc-agency-form form,.sgc-quicklinks{grid-template-columns:1fr}.sgc-directory-action{flex-direction:column;align-items:stretch;text-align:center;margin:16px}.sgc-hero{padding:30px 26px}}

/* v0.2.2 — páginas de comunidad a ancho de contenido profesional */
.sgc-shell{width:min(1160px,calc(100vw - 48px))!important;max-width:none!important;margin:34px 0 85px!important;padding:0!important;position:relative;left:50%;transform:translateX(-50%);font-family:inherit}
.sgc-shell .sgc-hero{padding:48px 58px;min-height:230px;display:flex;flex-direction:column;justify-content:center;margin-bottom:28px;background:linear-gradient(112deg,#0c3475 0%,#1167d7 73%,#099caa 155%)}
.sgc-shell .sgc-hero h1{max-width:850px;font-size:clamp(34px,4.3vw,53px);line-height:1.1;margin:12px 0 14px}
.sgc-shell .sgc-hero p{font-size:17px;line-height:1.65;max-width:780px}
.sgc-shell .sgc-panel{padding:34px 38px;margin-bottom:26px;border:1px solid #dbe6f4;box-shadow:0 15px 42px rgba(20,53,98,.055)}
.sgc-shell .sgc-form-heading{border-bottom:1px solid #e5edf6;margin-bottom:25px;padding-bottom:22px}
.sgc-shell .sgc-form-heading h2{font-size:27px;margin:6px 0 8px}
.sgc-shell .sgc-form-kicker{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;color:#087eab}
.sgc-shell .sgc-agency-form form{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 26px}
.sgc-shell .sgc-agency-form label{font-size:14px;color:#193453;margin:0;font-weight:750;min-width:0}
.sgc-shell .sgc-agency-form input:not([type=checkbox]),.sgc-shell .sgc-agency-form textarea{min-height:50px;padding:13px 15px;border:1px solid #c9d9ec;border-radius:11px;background:#fff;box-shadow:none;font-size:15px;transition:border-color .15s,box-shadow .15s}
.sgc-shell .sgc-agency-form textarea{min-height:105px;resize:vertical}
.sgc-shell .sgc-agency-form input:focus,.sgc-shell .sgc-agency-form textarea:focus{outline:0;border-color:#1766db;box-shadow:0 0 0 3px rgba(23,102,219,.13)}
.sgc-shell .sgc-agency-form button{justify-self:start;padding:16px 28px;border-radius:11px;font-size:15px;margin-top:10px;background:#1764e8}
.sgc-shell .sgc-honeypot{display:none!important}
@media(max-width:760px){.sgc-shell{width:calc(100vw - 30px)!important;margin:22px 0 55px!important}.sgc-shell .sgc-hero{padding:30px 25px;min-height:0}.sgc-shell .sgc-panel{padding:25px 20px}.sgc-shell .sgc-agency-form form{grid-template-columns:1fr;gap:18px}.sgc-shell .sgc-hero p{font-size:15px}}

/* v0.2.3: fix the actual WordPress page container, not just the inner shortcode.
   Theme page.php wraps the_content() in .entry-content (narrow by default). */
body:has(.sgc-shell) #primary.site-main > article > .entry-content,
body:has(.sgc-shell) #primary.site-main > article > .entry-content > .sgc-shell {
  box-sizing:border-box!important;
}
body:has(.sgc-shell) #primary.site-main > article > .entry-content {
  width:100%!important;max-width:none!important;min-width:0!important;
  padding:0 24px!important;margin:0 auto!important;
  overflow:visible!important;
}
body:has(.sgc-shell) #primary.site-main > article > .page-hero.entry-header {
  display:none!important;
}
body:has(.sgc-shell) #primary.site-main > article > .entry-content > .sgc-shell {
  position:static!important;left:auto!important;transform:none!important;
  width:100%!important;max-width:1240px!important;
  margin:32px auto 90px!important;padding:0!important;
}
body:has(.sgc-shell) .sgc-dashboard {grid-template-columns:260px minmax(0,1fr);gap:26px}
body:has(.sgc-shell) .sgc-dashboard > :last-child {min-width:0}
body:has(.sgc-shell) .sgc-tiles {grid-template-columns:repeat(3,minmax(0,1fr))}
body:has(.sgc-shell) .sgc-agency-form form {grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:800px){
 body:has(.sgc-shell) #primary.site-main > article > .entry-content{padding:0 16px!important}
 body:has(.sgc-shell) #primary.site-main > article > .entry-content > .sgc-shell{margin:18px auto 55px!important}
 body:has(.sgc-shell) .sgc-dashboard,body:has(.sgc-shell) .sgc-agency-form form{grid-template-columns:1fr}
 body:has(.sgc-shell) .sgc-tiles{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
}

/* v0.3.0 — selección de perfil */
.sgc-account-types{border:0;padding:0;margin:0 0 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sgc-account-types legend{font-weight:800;color:#14335d;margin-bottom:12px}.sgc-account-types label{display:flex!important;align-items:center;gap:12px;padding:16px!important;border:1px solid #d4e3f4;border-radius:13px;background:#f7fbff;cursor:pointer;margin:0!important}.sgc-account-types input[type=radio]{width:18px;height:18px;accent-color:#1264df;flex-shrink:0}.sgc-account-types span{display:flex;flex-direction:column;gap:4px}.sgc-account-types small{font-size:12px;font-weight:400;color:#60738c}.sgc-profile-type{font-size:13px;font-weight:750;color:#1264df;margin-top:-10px}.sgc-shell #sgc-registro,.sgc-shell #sgc-acceso{scroll-margin-top:110px}@media(max-width:720px){.sgc-account-types{grid-template-columns:1fr}}

/* 0.3.2 · Estado de solicitudes: comunicación clara y visual */
.sgc-status-panel{margin-top:20px}.sgc-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.sgc-status-card{display:flex;align-items:flex-start;gap:16px;padding:22px;border-radius:16px;border:1px solid #d7e5f6;background:#f5f9ff;color:#14345f}.sgc-status-card.sgc-approved{background:#f0fbf8;border-color:#a9e4d6}.sgc-status-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:14px;background:#e1edff;color:#1d58d4;font-size:25px;font-weight:800}.sgc-approved .sgc-status-icon{background:#c9f1e6;color:#087f67}.sgc-status-card strong,.sgc-status-label{display:block}.sgc-status-label{font-size:1.05rem;font-weight:800;margin:5px 0}.sgc-status-card p{margin:6px 0 10px;line-height:1.55}.sgc-status-card a{font-weight:700;color:#155bcb}

/* SergidoSEO reviews — scoped to agency profiles and cards */
.sgc-rating-compact{display:flex;justify-content:center;align-items:center;gap:7px;margin:11px auto 0;font-size:13px;color:#4d617c}.sgc-rating-compact strong{color:#132b50;font-weight:800}.sgc-rating-star,.sgc-review-stars{color:#f59e0b;letter-spacing:2px}.sgc-reviews{margin:24px 0;padding:30px;background:#fff;border:1px solid #dce6f5;border-radius:20px;box-shadow:0 12px 32px rgba(21,48,94,.06)}.sgc-reviews h2{font-size:clamp(23px,2.3vw,31px);margin:6px 0 10px;color:#102e59}.sgc-reviews h3{color:#102e59}.sgc-reviews-head p{color:#60718a;margin:0 0 24px}.sgc-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#1a68da}.sgc-review-overview{display:grid;grid-template-columns:190px 1fr;gap:28px;padding:22px;background:#f5f8ff;border-radius:15px;margin:22px 0}.sgc-score{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.sgc-score strong{font-size:56px;line-height:1;color:#112c52}.sgc-score span:last-child{font-size:13px;color:#536884}.sgc-bars{display:grid;gap:8px}.sgc-bar{display:grid;grid-template-columns:48px 1fr 28px;align-items:center;gap:12px;font-size:13px;color:#4b607d}.sgc-bar>div{height:9px;border-radius:99px;background:#dfe7f4;overflow:hidden}.sgc-bar i{display:block;height:100%;background:#f5ad24;border-radius:99px}.sgc-review-empty{padding:25px;background:#f5f8ff;border-radius:14px;color:#233d61}.sgc-review-empty p{margin:8px 0 0}.sgc-review-list{display:grid;gap:16px;margin:22px 0}.sgc-review-item{padding:22px;border:1px solid #e1e8f4;border-radius:15px}.sgc-review-item h3{font-size:18px;margin:10px 0}.sgc-review-item p{line-height:1.7;color:#364c69}.sgc-review-author{display:flex;align-items:center;gap:12px}.sgc-review-author div{display:grid;gap:2px}.sgc-review-author small{color:#74849a}.sgc-avatar{width:42px;height:42px;border-radius:50%;background:#e5efff;color:#1959b5;display:grid;place-items:center;font-weight:800}.sgc-service-label{display:inline-block;background:#eef5ff;color:#1958a8;padding:6px 11px;border-radius:8px;font-size:12px}.sgc-review-write{border-top:1px solid #e0e8f4;padding-top:24px;margin-top:25px}.sgc-review-form{display:grid;grid-template-columns:1fr 1fr;gap:17px}.sgc-review-form label{display:grid;gap:7px;font-weight:700;color:#18345a;font-size:14px}.sgc-review-form input,.sgc-review-form select,.sgc-review-form textarea{width:100%;box-sizing:border-box;border:1px solid #cddaf0;border-radius:10px;padding:12px;font:inherit;color:#1a3150;background:white}.sgc-review-full,.sgc-review-help{grid-column:1/-1}.sgc-review-help{font-size:13px;color:#61738d}.sgc-review-button{display:inline-block;justify-self:start;background:#245ff3;color:white!important;padding:13px 22px;border:0;border-radius:10px;font-weight:800;text-decoration:none;cursor:pointer}.sgc-review-notice{padding:13px 17px;border:1px solid #b8d7ff;background:#eff6ff;border-radius:10px}.sgc-review-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}@media(max-width:650px){.sgc-reviews{padding:19px}.sgc-review-overview,.sgc-review-form{grid-template-columns:1fr}.sgc-review-overview{gap:20px}.sgc-review-full,.sgc-review-help{grid-column:1}}

/* Reviews 0.4.1: visible, professional review action without changing agency cards. */
.sgc-reviews-head{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.sgc-reviews-head>div{flex:1 1 320px}
.sgc-review-primary-cta{white-space:nowrap;box-shadow:0 8px 22px rgba(30,93,215,.17);background:#0f3c73}
.sgc-review-primary-cta:hover,.sgc-review-button:hover{background:#1566ce;color:#fff!important}
.sgc-review-write{scroll-margin-top:125px}
.sgc-review-overview{background:#f6f9fd;border:1px solid #e4ecf6}
.sgc-review-item{box-shadow:0 5px 20px rgba(17,50,90,.045)}
@media(max-width:650px){.sgc-review-primary-cta{width:100%;text-align:center;box-sizing:border-box}}
